Bonjour à tous,
La configuration avec ScripAlias me joue des sales tours avec le message d'erreur, dont je n'arriverai pas à résoudre puisque j'ai suivi correctement le manuel d'apache.
Code PERL : 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
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73 <IfModule dir_module> DirectoryIndex index.html index.htm index.php </IfModule> # NAGIOS *************************************************************** ScriptAlias /nagios /local/nagios/share <Directory "/local/nagios/share"> Options None AllowOverride AuthConfig Order deny,allow Allow from all </Directory> ScriptAlias /nagios/cgi-bin "/local/nagios/sbin" <Directory "/local/nagios/sbin"> Options ExecCGI AllowOverride AuthConfig Order deny,allow Allow from all </Directory> # phpMyAdmin ************************************************************ Alias /phpMyAdmin /local/website/www/phpMyAdmin <Directory "/local/website/www/phpMyAdmin"> Options ExecCGI Indexes AllowOverride AuthConfig Order deny,allow Allow from all </Directory> # OREON ***************************************************************** Alias /oreon /local/website/www/oreon <Directory "/local/website/www/oreon"> Options ExecCGI Indexes Order deny,allow Allow from all AllowOverride None </Directory> Alias /mrtg /local/website/www/mrtg/ <Directory "/local/website/www/mrtg/"> Options ExecCGI AllowOverride None Order deny,allow Allow from all </Directory> <IfModule alias_module> ScriptAlias /cgi-bin/ "/local/website/www/cgi-bin/" </IfModule> <IfModule cgid_module> # # ScriptSock: On threaded servers, designate the path to the UNIX # socket used to communicate with the CGI daemon of mod_cgid. # #Scriptsock logs/cgisock </IfModule> # # "/local/httpd-2.2.3/cgi-bin" should be changed to whatever your ScriptAliased # CGI directory exists, if you have that configured. # <Directory "/local/website/www/cgi-bin"> AllowOverride None Options None Order allow,deny Allow from all </Directory>
Et bien le problème se trouve là
Le message d'erreur:
Code : Sélectionner tout - Visualiser dans une fenêtre à part 263: ScriptAlias /nagios/cgi-bin "/local/nagios/sbin"
Merci de m'aider.
Code : Sélectionner tout - Visualiser dans une fenêtre à part [warn] The ScriptAlias directive in /local/httpd-2.2.3/conf/httpd.conf at line 263 will probably never match because it overlaps an earlier ScriptAlias.
Partager