Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
apache give sever info
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
fungry
n00b
n00b


Joined: 24 Dec 2003
Posts: 21

PostPosted: Sat Mar 13, 2004 5:03 am    Post subject: apache give sever info Reply with quote

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
View user's profile Send private message
webfreak
n00b
n00b


Joined: 07 Oct 2003
Posts: 21

PostPosted: Sat Mar 13, 2004 6:30 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum