slywalker | Bonsoir,
je viens vers vous car je commence à m'embrouiller vraiment avec apache2 sur une debian 4.
Ce que je cherche à faire :
j'ai un nom de domaine slywalker.com qui pointe sur mon IP publique.
je voudrais avoir la chose suivante avec des virtual host :
Je suppose qu'il y a une déclaration à faire au niveau des DNS non ? (je suis chez OVH pour le nom de domaine et les DNS)
voici mes configurations vhost (je suppose qu'elles sont fausses car je tombe toujours sur le même site !!)
slywalker.com.conf
Code :
- NameVirtualHost *
- <VirtualHost *>
- ServerAdmin slywalker@slywalker.com
- DocumentRoot /var/www/slywalker
- ServerName slywalker.com
- <Directory />
- Options FollowSymLinks
- AllowOverride None
- </Directory>
- <Directory /var/www/slywalker/>
- Options Indexes FollowSymLinks MultiViews
- AllowOverride None
- Order allow,deny
- allow from all
- </Directory>
- #ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
- #<Directory "/usr/lib/cgi-bin">
- # AllowOverride None
- # Options ExecCGI -MultiViews +SymLinksIfOwnerMatch
- # Order allow,deny
- # Allow from all
- #</Directory>
- ErrorLog /var/log/apache2/error-slywalker.log
- # Possible values include: debug, info, notice, warn, error, crit,
- # alert, emerg.
- LogLevel error
- CustomLog /var/log/apache2/access.log combined
- ServerSignature Off
- Alias /doc/ "/usr/share/doc/"
- <Directory "/usr/share/doc/">
- Options Indexes MultiViews FollowSymLinks
- AllowOverride None
- Order deny,allow
- Deny from all
- Allow from 127.0.0.0/255.0.0.0 ::1/128
- </Directory>
- </VirtualHost>
|
dynetpomme.slywalker.com.conf
Code :
- <VirtualHost dynetpomme.slywalker.com:80>
- ServerAdmin slywalker@slywalker.com
- ServerName dynetpomme.slywalker.com
- DocumentRoot /var/www/dynetpomme
- <Directory />
- Options FollowSymLinks
- AllowOverride None
- </Directory>
- <Directory /var/www/dynetpomme/>
- Options Indexes FollowSymLinks MultiViews
- AllowOverride None
- Order allow,deny
- allow from all
- </Directory>
- #ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
- #<Directory "/usr/lib/cgi-bin">
- # AllowOverride None
- # Options ExecCGI -MultiViews +SymLinksIfOwnerMatch
- # Order allow,deny
- # Allow from all
- #</Directory>
- ErrorLog /var/log/apache2/error-dynetpomme.log
- # Possible values include: debug, info, notice, warn, error, crit,
- # alert, emerg.
- LogLevel error
- CustomLog /var/log/apache2/access.log combined
- ServerSignature Off
- Alias /doc/ "/usr/share/doc/"
- <Directory "/usr/share/doc/">
- Options Indexes MultiViews FollowSymLinks
- AllowOverride None
- Order deny,allow
- Deny from all
- Allow from 127.0.0.0/255.0.0.0 ::1/128
- </Directory>
- </VirtualHost>
|
J'ai pas mal cherché sur google mais là je sèche !
En vous remerciant par avance pour votre aide précieuse  Message édité par slywalker le 28-08-2007 à 01:00:28
|