Kiekeboe100
Verified User
hello,
i'm trying to enable server-status and server-info on my apache server.
When i go to http://serverip/server-status i keep getting
"You don't have permission to access /server-status on this server."
I've put this in /etc/httpd/conf/httpd.conf:
<IfModule mod_status.c>
<Location /server-status>
SetHandler server-status
Order deny,allow
Allow from all
</Location>
</IfModule>
I also tried without <Ifmodule ..>
I also tried compiling apache with --enable-info and --enable-status but this doesn't change anything.
I'm using custombuild with apache2, php 5 and suPHP (don't know if suphp could do something about this??)
I've already looked like everywhere I think but I can't find a solution. On most forums the problem is solved by changin the Allow line, but this is correct in my case.
One more quick question, what's the difference between /etc/httpd/conf/httpd.conf and /etc/httpd/conf/http.conf_2.0. When I put "foobar" at the end of httpd.conf_2.0 the apache server still restarts, while in httpd.conf it doesn't, so my guess is that 2.0 isn't used?
thx,
Kiekeboe100
i'm trying to enable server-status and server-info on my apache server.
When i go to http://serverip/server-status i keep getting
"You don't have permission to access /server-status on this server."
I've put this in /etc/httpd/conf/httpd.conf:
<IfModule mod_status.c>
<Location /server-status>
SetHandler server-status
Order deny,allow
Allow from all
</Location>
</IfModule>
I also tried without <Ifmodule ..>
I also tried compiling apache with --enable-info and --enable-status but this doesn't change anything.
I'm using custombuild with apache2, php 5 and suPHP (don't know if suphp could do something about this??)
I've already looked like everywhere I think but I can't find a solution. On most forums the problem is solved by changin the Allow line, but this is correct in my case.
One more quick question, what's the difference between /etc/httpd/conf/httpd.conf and /etc/httpd/conf/http.conf_2.0. When I put "foobar" at the end of httpd.conf_2.0 the apache server still restarts, while in httpd.conf it doesn't, so my guess is that 2.0 isn't used?
thx,
Kiekeboe100