Pages : 1
#1 Le 13/05/2008, à 00:13
- geekubuntu
Conflit avec le cgi
Holé,
J'ai un problème avec apache, à chaque reboot il met:
[warn] The ScriptAlias directive in /etc/apache2/httpd.conf at line 183 will probably never match because it overlaps an earlier ScriptAlias.
je pense que c'est à cause d'awstats et w3cam, configurés comme ceci:
###############################
##### WEBSTATS 1
###############################
Alias /webstats/awstats-icon "/home/toto/heberg/website1/webstats/wwwroot/icon/"
ScriptAlias /webstats/ /home/toto/heberg/website1/webstats/wwwroot/cgi-bin/
ScriptAlias /cgi-bin/ /home/toto/heberg/website1/webstats/wwwroot/cgi-bin/
<Directory "/home/toto/heberg/website1/webstats/wwwroot/cgi-bin">
DirectoryIndex awstats.pl
UseCanonicalName off
Options ExecCGI -MultiViews +SymLinksIfOwnerMatch
AllowOverride None
Order allow,deny
Allow from all
</Directory>
###############################
##### WEBCAM 1
###############################
ScriptAlias /cgi-bin/ /home/toto/heberg/website1/webcam
<Directory "/home/toto/heberg/website1/webcam">
DirectoryIndex w3cam.cgi
UseCanonicalName off
Options ExecCGI -MultiViews +SymLinksIfOwnerMatch
AllowOverride None
Order allow,deny
Allow from all
</Directory>
je ne peut pas faire deux scriptalias de cgi ?
++
Dernière modification par geekubuntu (Le 13/05/2008, à 00:13)
Trouve ton GULL!! --> http://www.trouvetongull.info/
Hors ligne
#2 Le 13/05/2008, à 10:23
- Tycho Brahe
Re : Conflit avec le cgi
ScriptAlias /cgi-bin/ /home/toto/heberg/website1/webstats/wwwroot/cgi-bin/
ScriptAlias /cgi-bin/ /home/toto/heberg/website1/webcam
Deux ScriptAlias avec le même nom ayant des adresses différentes, normal que ça plante
Hors ligne
#3 Le 13/05/2008, à 12:30
- geekubuntu
Re : Conflit avec le cgi
alors que faire? j'ai besoin de deux trucs de cgi moi.
++
Trouve ton GULL!! --> http://www.trouvetongull.info/
Hors ligne
#4 Le 14/05/2008, à 23:47
- Tycho Brahe
Re : Conflit avec le cgi
Et bien tu en renomme un
Hors ligne
Pages : 1