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 ^(.*)$ http://www.cpanelplesk.com/$1 [R=301,L] […]
Posts by seemab:
Install and Configure phpMyAdmin on Ubuntu
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: […]
How to uninstall MySQL Completely from Linux System
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 […]
How to Change default MySQL Data Directory in Linux
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: […]
“headers already sent” PHP Error
In some cases we find the following error from Apache logs: We can fix this error by updating a php.ini file. […]
How to find inode usage of a cPanel account
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. […]
Change port through WHM
Sometimes we are able to log into the WHM but unable to log into the server with the default port 22. In such situations, you can follow the steps below to reset the server port to default 22 from WHM. […]
Webmail Shows Plesk Default Page
No of reasons can cause this to occur. Webmail is not selected for the domain. The webmail is selected, but the bindings didn’t get set correctly in IIS. There can be an upgrade to the webmail/mail software. […]
Install Cloud Linux on cPanel server
To install Cloud Linux on cPanel serve,Follow the steps below. Installing Cloud Linux : wget http://repo.cloudlinux.com/cloudlinux/sources/cln/cldeploy sh cldeploy -k <activation_key> # if you have activation key or sh cldeploy -i # if you have IP based license reboot Installing CageFS and PHP selector : To run this make sure there is more than 15gb free on shared server. […]
How to find Serial Number on Linux server
To find the serial number on Linux machine ,Just fire the command below. root@server03 seemab]# dmidecode -t 1 You will get the results below. # dmidecode 2.12 SMBIOS 2.4 present. Handle 0x0001, DMI type 1, 27 bytes System Information Manufacturer: VMware, Inc. Product Name: VMware Virtual Platform Version: None Serial Number: VMware-56 4d 9e 27 […]