j'ai un probleme bidon dont je ne trouve pas la solution :
j'ai creer deux repertoires (www et cgi-bin dans mon home)
sous ma debian sarge dans apache2.conf, j'ai fait ceci.Code:
1
2 /home/toto/www /home/toto/cgi-bin
qd je relance apache, j'ai ce message :Code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18 AddHandler cgi-script .cgi .pl 360<Directory /home/toto/www> 361 AllowOverride None 362 Options +indexes 363 Order allow,deny 364 Allow from all 365 </Directory> 366 Alias /toto /home/jodor/www 367 368 <Directory /home/toto/cgi-bin> 369 AllowOverride None 370 Options +indexes 371 Order allow,deny 372 Allow from all 373 </Directory> 374 ScriptAlias /toto/cgi-bin /home/toto/cgi-bin
je comprends pas. j'arrive bien à me connecter au www vi l'url suivante :Code:
1
2
3 Forcing reload of apache 2.0 web server...[Tue Mar 28 14:40:20 2006] [warn] The ScriptAlias directive in /etc/apache2/apache2.conf at line 374 will probably never match because it overlaps an earlier Alias. [Tue Mar 28 14:40:20 2006] [warn] The ScriptAlias directive in /etc/apache2/apache2.conf at line 374 will probably never match because it overlaps an earlier Alias. .
http://hostname/toto/
mais http://hostname/toto/cgi-bin/test.cgi
me procure l'erreurMerciCode:The requested URL /toto/cgi-bin/test.cgi was not found on this server.