Topic: Problème avec mon vhost de Vhffs
Allo all!
J'ai un léger problème avec mes vhosts Apache avec vhffs, j'ai mes 2 vhosts pris de l'exemple de la doc. La vhost pour les domaines en 1er et le vhost pour le panel en 2eme. Mais, quand j'essait d'accéder à mon adresse ajoutée dans le panel (dans ce cas si: mario.virtual-info.info), il m'affiche /var/www :S
Voici ma configuration:
<VirtualHost *>
ServerAdmin webmaster@localhost
DocumentRoot /data/web
HashEnable On
<Directory /data/web/>
Options -ExecCGI Indexes FollowSymLinks +Includes MultiViews
IndexIgnore */.quota */.*passw* */.htaccess
IndexOptions NameWidth=*
AllowOverride All
order allow,deny
allow from all
RewriteEngine on
</Directory>
ErrorLog /var/log/apache2/sites-error.log
LogFormat "%V %h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-agent}i\"" vhffs
CustomLog /data/logs/web/incoming/mario/vhffs.log vhffs
# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
LogLevel warn
ServerSignature On
Alias /icons/ "/usr/share/apache2/icons/"
<Directory "/usr/share/apache2/icons">
Options Indexes MultiViews
AllowOverride None
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
<VirtualHost *>
ServerAdmin MON@EMAIL
ServerName MONPANEL.com
DocumentRoot /usr/share/vhffs/panel/
DirectoryIndex auth.pl index.pl
HashEnable Off
<Directory /usr/share/vhffs/panel/>
AllowOverride None
Options ExecCGI FollowSymLinks
Order allow,deny
Allow from all
AddHandler cgi-script .pl
</Directory>
ErrorLog /var/log/apache2/panel-error.log
# Possible values include:
# debug, info, notice, warn, error, crit, alert, emerg
LogLevel warn
CustomLog /var/log/apache2/panel-access.log combined
ServerSignature On
</VirtualHost>
P.S: J'ai désactiver le fichier 000-default
Merci d'avance
Greatman