Monthly Archives: January 2009

20 ways to Secure your Apache Configuration

Here are 20 things you can do to make your apache configuration more secure. Disclaimer: The thing about security is that there are no guarantees or absolutes. These suggestions should make your

Apache startup Fail

You may sometimes encounter the following problem while starting apache server ==== [root@epsilon root]# /etc/init.d/httpd start Starting httpd: (98)Address already in use: make_sock: could not bind to address 0.0.0.0:80 no listening sockets

MySQL Commands

Create a database on the sql server. mysql> create database [databasename]; List all databases on the sql server. mysql> show databases; Switch to a database. mysql> use [db name]; To see all

Basic cPanel Scripts

cPanel and WHM has a large number of predefined scripts available in the /scripts folder. The available scripts are as follows: /scripts/adddns — Add a Dns Entry /scripts/addfpmail — Install Frontpage Mail

Apache Useful Commands

httpd -v Outputs the build date and version of the Apache server. httpd -l Lists compiled in Apache modules httpd status Only works if mod_status is enabled and shows a page of