by Aromal Rajagopal | Nov 21, 2009 | Quick fixes, Technical |
Issue : When you create a sub-domain, cPanel points it to the corresponding folder under public_html by default. How to point it to a folder outside the public_html? Solution : This cannot be done via cPanel/WHM but can be achieved if you have ‘root’ SSH...
by Aromal Rajagopal | Sep 15, 2009 | Quick fixes, Technical |
Issue : How to enable the PHP extension–FreeType on a server running cPanel/WHM and apache? Solution : You need to re-compile apache and php with freetype . This can be done via the command line or through WHM. Command line : Run /scripts/easyapache and select...
by Aromal Rajagopal | Sep 11, 2009 | Quick fixes, Technical |
Issue : While some construction is going on the site, all pages on the website should go to the index page. Solution : This can be easily achieved by using the following code in your .htaccess file : < IfModule mod_rewrite.c > RewriteEngine On RewriteBase /...
by Aromal Rajagopal | Sep 9, 2009 | Quick fixes, Technical |
Issue : How to disable access to /whm and /cpanel for all domains except the server hostname? Solution : This would need customization of the httpd.conf file. First, edit the httpd.conf and remove any lines pertaining to forwarding of domains to /cpanel and /whm....
by Aromal Rajagopal | Aug 26, 2009 | Quick fixes, Technical |
Issue : Regardless of somebody accessing the site with or without the ‘www’ , it should always go to http://domain.com Solution : Use the following htaccess code : RewriteEngine on RewriteCond %{HTTP_HOST} ^www.domain.com RewriteRule ^(.*)...