Salut,
Un petit soucis que je n’arrive pas à comprendre…
Serveur apache2 sur squeeze.
2 fichiers dans “sites-enabled”:
[code]cat /etc/apache2/sites-enabled/domaine.org
<VirtualHost *:80>
ServerAdmin webmaster@domaine.org
ServerName domaine.org
DocumentRoot /var/www/
<Directory /var/www/>
Options Indexes FollowSymLinks MultiViews
AllowOverride None
AllowOverride All
Order allow,deny
allow from all
ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
<Directory “/usr/lib/cgi-bin”>
AllowOverride None
Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
Order allow,deny
Allow from all
ErrorLog /var/log/apache2/error.log
Possible values include: debug, info, notice, warn, error, crit,
alert, emerg.
LogLevel warn
CustomLog /var/log/apache2/domaine.org/access.log cached
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
[/code]
et
[code]cat /etc/apache2/sites-enabled/webmail.domaine.org
ServerAdmin webmaster@domaine.org
DocumentRoot /var/www/webmail
ServerName webmail.domaine.org
<Directory "/var/www/webmail/">
allow from all
Options +Indexes
</Directory>
[/code]
Et bien je ne comprend pas pourquoi, quand je navigue sur domaine.org je suis redirigé sur webmail.domaine.org
Quand je tape domaine.org/fichier.html j’ai cette erreur dans Konqueror :
Merci d’avance pour vos éclaircissements.