Bonjour,
je voudrez ci ses possible un petit renseignement voila je m'explique.
jusqu'à maintenant j'ai installer que des pages en Html donc le document root avais comme direction:
DocumentRoot /home/www/site-1.fr/index.html
je me sert du tutoriel
http://debian-facile.org/doc:reseau:apache2:multisite?s[]=virtualhost qui et très bien fais merci au passage!!
la mon site pointe vers un fichier index.php
comment installer le virtualhost y à t'il une configuration spécifique ???
ou celle ci dessous fonctionne
merci de votre aide
<VirtualHost *:80>
ServerAdmin MonMail@gmail.com
ServerName
www.site-1.fr ServerAlias site-1.fr *.site-1.fr
DocumentRoot /home/www/site-1.fr
DirectoryIndex index.php
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
<Directory /home/www/site-1.fr>
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 /home/www/apache_log/error_site-1.log
# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
LogLevel warn
CustomLog /home/www/apache_log/access_site-1.log combined
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>