Bonjour,

J'ai un petit soucis avec apache2 sur debian.

Je ne comprend pas pourquoi certains de mes virtualhosts fonctionnent alors que d'autres non.

Exemple :

Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<VirtualHost xx.xx.xx.xx:80>
DocumentRoot /home/rep1/rep2/www
<Directory "/home/rep1/rep2/www">
allow from all
Options +Indexes
DirectoryIndex index.php
AllowOverride All
</Directory>
ServerAlias www.mondomaine.com mondomaine.com
Options ExecCGI FollowSymLinks Includes IncludesNOEXEC Indexes MultiViews SymLinksIfOwnerMatch
DirectoryIndex index.php index.htm index.html
ServerSignature On
ContentDigest on
ServerName mondomaine.com
</VirtualHost>
fonctionne


Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
<VirtualHost xx.xx.xx.xx:80>
DocumentRoot "/home/rep1/forums/www"
ServerName forums.mondomaine.com
<Directory "/home/rep1/forums/www">
Options +Indexes
DirectoryIndex index.php
AllowOverride All
</Directory>
Options ExecCGI FollowSymLinks Includes IncludesNOEXEC Indexes MultiViews SymLinksIfOwnerMatch
DirectoryIndex index.php index.htm index.html
ServerSignature On
ContentDigest on
</VirtualHost>
fonctionne aussi.

Par contre


Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
<VirtualHost xx.xx.xx.xx:80>
DocumentRoot "/home/rep1/forum2/www"
ServerName forum2.mondomaine.com
<Directory "/home/rep1/forum2/www">
Options FollowSymLinks
DirectoryIndex index.php
AllowOverride All
</Directory>
Options ExecCGI FollowSymLinks Includes IncludesNOEXEC Indexes MultiViews SymLinksIfOwnerMatch
DirectoryIndex index.php index.htm index.html
ServerSignature On
ContentDigest on
</VirtualHost>
et


Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
<VirtualHost xx.xx.xx.xx:80>
DocumentRoot "/home/rep1/rep2/www/document"
ServerName document.mondomaine.com
<Directory "/home/rep1/rep2/www/document">
allow from all
Options FollowSymLinks 
AuthType Basic
</Directory>
DirectoryIndex index.php index.htm index.html test.htm
</VirtualHost>
me donnent


Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, [no address given] and inform them of the time the error occurred, and

anything you might have done that may have caused the error.

More information about this error may be available in the server error log.
:-/

A moins que ça ne vienne pas des vhosts...
Le premier vhost correspond à mon site internet, il y a un .htaccess
Le second est un forum
Le troisième est un forum protégé par un .htpassword
Le troisième est un répertoire contenant plusieurs répertoires contenant des images affichées sur le site (par

exemple, document.mondomaine.com/8794/imgs/3.jpg

Je ne suis pas un expert ni de apache, ni de debian, ni de php ni du web en général, si quelqu'un pouvait m'aider,

ça m'enlèverait une fière chandelle du pied !

Merci !