-
August 7th, 2008, 19:12
#1
مدیر کل
چگونگی وارد شدن امن در WHM / CPANEL (Force (SSL) secure logins in WHM and Cpanel)
This tutorial will show you how to accomplish https connections when going to servername/whm or /cpanel for those who may still be using the insecure ways to login to WHM and CPanel forcing a secure connection for all users.
Step 1: Backup files
cp /etc/httpd/conf/httpd.conf /etc/httpd/conf/httpd.conf.insecure
Step 2: Edit the file
pico /etc/httpd/conf/httpd.conf
Step 3: Search for the line:
Ctrl+W then ScriptAlias /cpanel /usr/local/cpanel/base/redirect.cgi
Step 4: Edit the line to show the following: ScriptAlias /cpanel /usr/local/cpanel/base/sredirect.cgi (simply change the redirect.cgi to sredirect.cgi)
Step 5: Search for the line:
Ctrl+W then ScriptAlias /whm /usr/local/cpanel/base/whmredirect.cgi
Step 6: Edit the line to show the following:
ScriptAlias /whm /usr/local/cpanel/base/swhmredirect.cgi (simply change the whmredirect.cgi to swhmredirect.cgi)
Step 7: Save and exit using the following: Ctrl+X then press Y
Step 8: Restart Apache to have changes take effect:
service httpd restart
برای پیش رفت در علم آسانسوری وجود ندارد پله ها را باید پیاده رفت /./ همیشه این یادتان باشد که دست بالای دست بسیار است.
يادمان باشد براي يك بار ايستادن صد ها بار افتاده ايم /./ بک آپ مهمترین رمز موفقیت هاستینگ /./ امنیت مطلق نیست.
ارتباط مستقیم با من :
Admin -{(@)}- WebHostingTalk . ir
-
تعداد تشکر ها ازVahid به دلیل پست مفید
-
August 7th, 2008 19:12
# ADS