LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Security (https://www.linuxquestions.org/questions/linux-security-4/)
-   -   How to change server banner in Apache/2.0.48 (https://www.linuxquestions.org/questions/linux-security-4/how-to-change-server-banner-in-apache-2-0-48-a-160582/)

dominick 03-21-2004 11:34 AM

How to change server banner in Apache/2.0.48
 
Im looking to change my server banner.

Apache/2.0.48 (Fedora) Server at myb0x Port 80

to

Whatever I want here at myb0x Port 80


Thanks in Advance-
Dom

phek 03-22-2004 01:49 AM

You've got to recompile apache from source to change the file src/include/httpd.h, theres 3 lines in there that state the apache version which you can change to whatever you want. If you really don't want to recompile apache, you could always edit the binary file httpd and replace the version with something else but, it must contain the same amount of characters. If you do go with the latter, don't blame me if your web server breaks all together.


All times are GMT -5. The time now is 09:28 PM.