To setup basic authentication in Apache first create a .htaccess file in your website root folder or in specific directory and add following code: […]

To setup basic authentication in Apache first create a .htaccess file in your website root folder or in specific directory and add following code: […]
Keep alive is an concept to allow the same tcp connection for HTTP conversation instead of opening a new one with each new request. More simply , Keep alive is also known as a persistent connection. […]
To check if the server is Suexec or not? follow the steps as below: Login into you server with the root details and run following command: /usr/local/cpanel/bin/rebuild_phpconf –current If server is Suexec then result would be as follows: Available handlers: suphp dso cgi none DEFAULT PHP: 5 PHP4 SAPI: none PHP5 SAPI: suphp SUEXEC: enabled RUID2: […]
To password protect a file in Linux use the command below: vim +X cpanelplesk.txt +X option will make your file password protect. vim +X cpanelplesk.txt “cpanelplesk.txt” [New File] Enter encryption key: Enter same key again: Now write anything you want and save it using !wq “cpanelplesk.txt” [New][crypted] 0L, 0C written Done. […]
Sometimes we need to redirect all URL from https to http except one URL,In that case we just have to add below line above the redirection code in .htaccess file: RewriteRule ^foldername/ – [L] Now all the url except the foldername will be redirected from https to http: RewriteRule ^foldername/ – [L] RewriteCond %{SERVER_PORT} ^443$ RewriteRule ^(.*)$ https://cpanelplesk.com/wp62/$1 [R=301,L] […]
Previously we have talk about how to install and configure phpmMyAdmin on CentOS. Here through the below steps we are explaining how to Install and Configure phpMyAdmin on Ubuntu server. First of all, before installing anything new we have to make sure that the list of available packages is up to date. apt-get -y update Now we can install phpMyAdmin using the below command: […]
Some time we encounter problems with MySQL set up on Linux server. If we simply delete MySQL package and re-install it doesn’t resolve the problem, in that situation old configurations may still remains on server which again affects new set up. So first we have to uninstall MySQL completely from system and remove all configurations […]
Mostly MySQL uses /var/lib/mysql directory as default data directory for Linux based systems. But if you wanted to change your data folder to another location,Follow the below steps to make all the changes: […]
In some cases we find the following error from Apache logs: [wpfmb type=’error’ theme=2]PHP Warning: Cannot modify header information – headers already sent by [/wpfmb] We can fix this error by updating a php.ini file. […]
For most of the hosting service accounts there can be a restriction in the use of inode. Mostly the inode can be loaded by the e-mails, once the inode utilization becomes full then the server will stop working. […]