func setlocale(ru_RU.CP1251)
localedef --no-archive -c -i ru_RU -f CP1251 ru_RU.cp1251
Wednesday, March 20, 2013
Sunday, March 10, 2013
How to enable/Disable cPanel webmail interface for a user account or in server.
How to enable/Disable cPanel webmail interface for a user account or in server.
Customer wants to enable only the HORDE webmail interface for his domain and disable the rest. Usually there are three (3) webmail clients (horde, squirrel mail, roundcube). However, I was advised to make sure that a specific customer does not see more than one specified. I enabled “AUTOLOAD” option in the webmail interface but he is not satisfied. He came back asking to allow only HORDE interface for his webmail. How should i do that?
Solution: Consider my domain name is “hemanth.com” and my account name is “hemanth“. Now follow the steps below.
Customer wants to enable only the HORDE webmail interface for his domain and disable the rest. Usually there are three (3) webmail clients (horde, squirrel mail, roundcube). However, I was advised to make sure that a specific customer does not see more than one specified. I enabled “AUTOLOAD” option in the webmail interface but he is not satisfied. He came back asking to allow only HORDE interface for his webmail. How should i do that?
Solution: Consider my domain name is “hemanth.com” and my account name is “hemanth“. Now follow the steps below.
====================This option for that particular user account:
1) SSH to your server
2) Go to “cd /var/cpanel/users/”
3) vi hemanth
4) Paste the following lines
skiphorde=0
skipsqmail=1
skiprcmail=1
1) SSH to your server
2) Go to “cd /var/cpanel/users/”
3) vi hemanth
4) Paste the following lines
skiphorde=0
skipsqmail=1
skiprcmail=1
Note: The option 0 is enable and 1 is disable. in above line only HORDE is enabled in the webmail and Roundcube and squirrel is disabled.
5) Then restart the cpanel service
/etc/init.d/cpanel restart
/etc/init.d/cpanel restart
Now login to your webmail and check for the option.
This will change the server wide for all the domains in the server:
1) Login to your WHM
2) Go to “Server Configuration”
3) Click on “Tweak Settings”
4) Select mail option.
5) Turn off “Round Cube and Squirrel”
6) Save it.====================Redirections
http://your-domain.com:2095/3rdparty/roundcube/index.php
http://your-domain.com:2095/horde/login.php
1) Login to your WHM
2) Go to “Server Configuration”
3) Click on “Tweak Settings”
4) Select mail option.
5) Turn off “Round Cube and Squirrel”
6) Save it.====================Redirections
http://your-domain.com:2095/3rdparty/roundcube/index.php
http://your-domain.com:2095/horde/login.php
http://your-domain.com:2095/3rdparty/squirrelmail/src/login.php
Note: You must replace your-domain.com with your actual domain name in the above examples.
Php.ini using .htaccess
http://www.suphp.org/DocumentationView.html?file=apache/CONFIG
if you want to use "/path/to/server/config/php.ini", use
"suPHP_ConfigPath /path/to/server/config".
in .htaccess
if you want to use "/path/to/server/config/php.ini", use
"suPHP_ConfigPath /path/to/server/config".
in .htaccess
Subscribe to:
Posts (Atom)