The server-info section and server-status section were correctly removed from httpd.conf but they should have re-appeared in 00_default_vhost.conf. Reproducible: Always I upgraded to Apache-2.2.4-r2 in order to be able to use the latest mod_fcgid. I noticed the server-info and server-status sections had disappeared from httpd.conf. I tried replacing them with the sections from httpd.conf from the stable version of Apache (where they worked) but kept getting Forbidden errors regardless of my Allow and Deny statements. It turns out that these sections now need to be inside the VirtualHost section in order to function properly although ExtendedStatus is not allowed in that section. I suggest adding the following code to 00_default_vhost.conf so that server-info and server-status is closer to working right out of the box. <IfDefine INFO> <Location /server-status> SetHandler server-status Order deny,allow Deny from all Allow from 127.0.0.1 </Location> </IfDefine> <IfDefine INFO> <Location /server-info> SetHandler server-info Order deny,allow Deny from all Allow from 127.0.0.1 </Location> </IfDefine>
(In reply to comment #0) > The server-info section and server-status section were correctly removed from > httpd.conf but they should have re-appeared in 00_default_vhost.conf. > > I upgraded to Apache-2.2.4-r2 in order to be able to use the latest mod_fcgid. > I noticed the server-info and server-status sections had disappeared from > httpd.conf. I tried replacing them with the sections from httpd.conf from the > stable version of Apache (where they worked) but kept getting Forbidden errors > regardless of my Allow and Deny statements. > > It turns out that these sections now need to be inside the VirtualHost section > in order to function properly although ExtendedStatus is not allowed in that > section. I suggest adding the following code to 00_default_vhost.conf so > that server-info and server-status is closer to working right out of the box. > > <IfDefine INFO> > <Location /server-status> > SetHandler server-status > Order deny,allow > Deny from all > Allow from 127.0.0.1 > </Location> > </IfDefine> > > <IfDefine INFO> > <Location /server-info> > SetHandler server-info > Order deny,allow > Deny from all > Allow from 127.0.0.1 > </Location> > </IfDefine> They aren't in httpd.conf because they got moved to a modules.d entry. Try adding -D INFO to APACHE2_OPTS in your /etc/conf.d/apache2. Also remove the declaration you added to your httpd.conf and/or you're vhost configs.
The -D INFO was already in APACHE2_OPTS. I removed the sections I had added to the vhost file then I edited the server-* sections in 00_mod_info.conf and changed: Allow from localhost to Allow from 127.0.0.1 which fixed my problem. I don't know why "localhost" does not work here but others have reported the same problem. Thanks for the quick reply, sorry for bothering you with a non-issue.
I've changed the directive in SVN, we'll need to wait for the next bump till it's fixed.
(In reply to comment #3) > I've changed the directive in SVN, we'll need to wait for the next bump till > it's fixed. It's in the tree now, as apache-2.2.4-r4.