Posts

Showing posts from September, 2010

apache hide version and php hide version linux

From  http://www.debianadmin.com/apache-tipshide-apache-information-php-software-version.html Apache Tips:Hide Apache Information & PHP software version Posted by Admin on March 1st, 2007 By default, Apache will send version and modules information (e.g., mod_php, mod_perl, mod_ssl) in every HTTP header. If you want to view Apache web server version and sofware of a remove server you follow this procedure telnet www.example.com 80 Trying www.example.com.com… Connected to www.example.com. Escape character is ‘^]’. HEAD / HTTP/1.0 <- after this press 2 times ENTER HTTP/1.1 200 OK Date: Fri, 09 Jan 2007 18:18:26 GMT Server: Apache/2.0.55 (Debian) PHP/5.1.2-1+b1 mod_ssl/2.0.55 OpenSSL/0.9.8b Connection: close Content-Type: text/html; charset=UTF-8 Connection closed by foreign host. In the above example it is showing all the details about your web server and php this is not recommended for security reasons.We need to hide this information with the following p

tcpserver: fatal: unable to bind: address already used

A problem arised one day, I cannot see my smtp server! Checked on the error of qmail and checked the net for a fix  Problem tcpserver: fatal: unable to bind: address already used tcpserver: fatal: unable to bind: address already used another process is using port 25  netstat -anp |grep LIST  service exim stop then used this command so that it wont run again mv /usr/sbin/exim /usr/sbin/exim.old