Day: December 14, 2011

PHP, Uncategorized

How to enable php.ini for all the folders under one account

 How to enable php.ini for all the folders under one account Copy the php.ini file in the public_html folder of the user using below command.cp /usr/local/apache/php.ini . Then create .htaccess file and insert the below command: SetEnv PHPRC /home/username/public_html Note: In place of username you have to use the clients or your username.  

CPanel / WHM, Uncategorized

404 error code for all third party applications

404 error code for all third party applications Copy and paste the code in .htaccess file   For main domain only <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </IfModule>   Below one for the subdomain   <IfModule mod_rewrite.c> RewriteEngine On RewriteBase /subdirectory/ RewriteRule ^index\.php$ – [L] …