≡ Menu

apache http server

Mac OS x Restart Apache Web Server

How do I restart Apache web server under Mac OS X operating systems?
[click to continue…]

Mac OS X Start / Stop Apache Web Server

How do I start or stop Apache web server using shell prompt option under Apple OS X UNIX operating systems?
[click to continue…]

Q. How do I configure and Install Apache web server with PHP5 and mod_fastcgi to get faster PHP access under FreeBSD server?
[click to continue…]

Q. mod_security supplies an array of request filtering and other security features to the Apache HTTP Server. How do I install mod_security under FreeBSD operating systems?
[click to continue…]

Apache Log Files

Q. How do I find out Apache http server log files location? How do I change the location of Apache log file under Linux / UNIX operating system?
[click to continue…]

Linux Start an Apache Web Server

Q. How do I start an Apache Web Server under Linux Operating systems?
[click to continue…]

Q. How do I hide the Apache version number under CentOS Linux 5 server?

A. You can easily hide Apche (httpd) version number and other information. There are two config directives that controls Apache version. The ServerSignature directive adds a line containing the Apache HTTP Server server version and the ServerName to any server-generated documents, such as error messages sent back to clients. ServerSignature is set to on by default. The ServerTokens directive controls whether Server response header field which is sent back to clients includes a description of the generic OS-type of the server as well as information about compiled-in modules. By setting this to Prod you only displays back Apache as server name and no version number displayed back.

Open your httpd.conf file using text editor such as vi:
vi httpd.conf

Append/modify config directive as follows:
ServerSignature Off
ServerTokens Prod

Save and close the file. Restart Apache web server:
# /etc/init.d/httpd restart