Bonjour, je vous montre mon fichier vhosts :

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
16
17
18
19
20
21
22
<VirtualHost *:80>
    ServerAdmin webmaster@dummy-host.localhost
    DocumentRoot "I:\Work\www.test.svn\httpdocs"
    ServerName www.test.svn
 
    <Directory "I:\Work\www.test.svn\httpdocs">
        Allow from all
        Order allow,deny
    </Directory>
 
    ScriptAlias /cgi-bin/ "I:\Work\www.test.svn\cgi-bin\"
 
    <Directory "I:\Work\www.test.svn\cgi-bin">
        AllowOverride None
        Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
        Order allow,deny
        Allow from all
    </Directory>
 
    ErrorLog "I:\Work\www.test.svn\logs\error.log"
    CustomLog "I:\Work\www.test.svn\logs\access.log" common
</VirtualHost>
Comment se fait-il que je n'arrive pas à accéder à l'url : http://www.vangogi.svn/cgi-bin/filechucker.cgi (le reste du site fonctionne)

Dans mon fichier de logs d'erreurs j'obtiens ceci:

[Sat Mar 07 19:38:54 2009] [error] [client 127.0.0.1] script not found or unable to stat: I:/Work/www.test.svn/httpdocs/cgi-bin
On voit bien qu'il ne tient pas compte du scriptAlias puisqu'il cherche ma page dans /httpdocs/ et pas dans /cgi-bin/ comme spécifié dans mon vhosts

Au passage j'utilise wamp 2.0f et je tourne sur vista