Apache

Riz Khan on June 16th, 2010

Different type of logs keep growing on server and should be set to rotate else they can cause issue, one is that when any log file reaches 2Gb size it can commonly result in apache service failure or in general they can occupy very large disk space. To resolve this issue , Cpanel servers provide […]

Continue reading about How To : Setup Cpanel and Apache Log Rotation

Riz Khan on April 24th, 2010

Cpanel now support the optional apache module mod_spelling using which you can have the optoin for your URLs to load even if they have one spelling mistake or there is one capitalization error, which would give non found 404 otherwise as Linux is cases senstive operating system. e.g. If you have below URL : http://yourdomain.com/yourpage.html […]

Continue reading about How to use mod spelling on Cpanel server

Riz Khan on April 24th, 2010

If you want to redirect your visitors every time they catch into an HTTP 404 error, use can use the below code in your .htaccess file : ErrorDocument 404 /errors/notfound.html This redirects the user to /errors/notfound.html whenever a 404 error happen. You can of course redefine also other http errors codes (403, 500… and so […]

Continue reading about How To : Use customized http 404 error page