View previous topic :: View next topic |
Author |
Message |
fungry n00b
Joined: 24 Dec 2003 Posts: 21
|
Posted: Sat Mar 13, 2004 5:03 am Post subject: apache give sever info |
|
|
hi
i have gentoo running an apache sever on it
i have noticed that /server-info and /server-status give out a lot of info on what I am running
i have looked through the config files and cant seem to find much to disable it.
how can i disable that information been displayed?
cheers |
|
Back to top |
|
|
webfreak n00b
Joined: 07 Oct 2003 Posts: 21
|
Posted: Sat Mar 13, 2004 6:30 am Post subject: |
|
|
If you're using apache 2, edit /etc/apache2/conf/apache2.conf with an editor (as root), and comment out the lines
LoadModule info_module modules/mod_info.so
LoadModule status_module modules/mod_status.so
to disable the server-info and server-status pages, respectfully. Restart apache. Should work, I just tested it. If you're using the older apache I'm pretty sure the config file is httpd.conf or something. |
|
Back to top |
|
|
|