by Aromal Rajagopal | Aug 26, 2009 | Quick fixes, Technical |
Issue : The old domain ( with and without ‘www’ ) needs to be forwarded to a sub-folder of the new domain. Solution : Use the following htaccess code : RewriteEngine on RewriteCond %{HTTP_HOST} ^olddomain.com$ [OR] RewriteCond %{HTTP_HOST}...
by Aromal Rajagopal | Aug 23, 2009 | Quick fixes, Technical |
Issue : WordPress installed on a cPanel server. Cannot upload images using WP unless the “uploads” directory is set to “777” which poses serious security threats. Solution : The reason is that WordPress is running PHP as a DSO (Apache Module)...
by Aromal Rajagopal | Aug 20, 2009 | Quick fixes, Technical |
Issue : When trying to turn ‘register_globals’ ON by adding a statement “php_flag register_globals on ” in the .htaccess, following error appears on the website: “A 500 Internal Server Error error was encountered while trying to use an...
by Aromal Rajagopal | Aug 3, 2009 | Quick fixes, Technical |
Issue : The apache configuration file (httpd.conf) has several custom entries which should not be over-written when an EasyApache is done for recompiling/adding a PHP/Apache extension. Solution : Starting with cPanel 11.x, all the apache settings are also stored in a...
by Aromal Rajagopal | Jul 27, 2009 | Quick fixes, Technical |
Issue : How to de-activate lighthttpd and activate apache? Solution : SSH into the server as ‘root’ and run the following commands : /etc/init.d/lighttpd stop chkconfig lighttpd off chkconfig httpd on /etc/init.d/httpd...