How to enable mod_info in Apache?

Posted by Amit Nagar on Server Fault See other posts from Server Fault or by Amit Nagar
Published on 2012-12-11T08:47:52Z Indexed on 2012/12/11 11:05 UTC
Read the original article Hit count: 476

Filed under:
|
|

I gone through the apache guide to enable to mod_info.

As per doc:

  • To configure mod_info, add the following to your httpd.conf file.

Location /server-info SetHandler server-info /Location

  • You may wish to use mod_access inside the directive to limit access to your server configuration information: Location /server-info SetHandler server-info Order deny,allow Deny from all Allow from yourcompany.com Location

  • Once configured, the server information is obtained by accessing http://your.host.dom/server-info

In my case the this link is not giving any info. Http 404 NOT FOUND error

  • Is there anything I need to install as mod_info.c or something ? Is there anything i need to put as AddModule or something ?

  • In Error log : File does not exist: /usr/local/apache2/htdocs/example1/server-info I have 3 virtual host. One of this as default which use example1 as Docroot dir. I am not sure where this page (server-info) should be ? in case of server-status, it's working fine

© Server Fault or respective owner

Related posts about apache2

Related posts about tomcat