Search:     Advanced search
Browse by category:

Redirecting HTTP to HTTPS:

Views: 670
Votes: 2
Posted: 27 Sep, 2007
by: Admin A.
Updated: 18 Mar, 2008
by: Admin A.

Redirecting HTTP to HTTPS:

 

The following steps will provide you the ways to redirecting the url from http to https.

 

SSH your box

 

Login as a super user

root@yourserver[~]#su –

 

Open httpd.conf file

root@yourserver[~]#vi httpd.conf

 

You should modify the following setting's on httpd.conf under your virtual host entry:

RewriteEngine On
RewriteLogLevel 0

RewriteCond %www. ^/
RewriteRule (.*) https://%/ [R,L]

RewriteCond % ^/
RewriteRule (.*) https://%/ [R,L]

 

Restart Apache

root@yourserver[~]#service httpd restart

 

That’s it! Your host now will be redirected from http to https

Others in this Category
document DOS Attack on Web Servers and its prevention:
We Assist,we resolve, You Excel
Services : Outsourced Web Hosting Support | Web Server Monitoring & Administration | Customer Service Support | Outsourced Web Development | Multimedia & Webdesign | Tech Hiring
Plans : Web Hosting Support Plan |Dedicated Support Plans | Shared Support Plans | Server Admin Plans | Per Server Plans | Per Ticket Plan | Customized Support Plan | Web Programing Charges | Multimedia & Webdesign Charges
General :
Company | Faq | Why Assistanz | Client Testimonials | Careers | Contact us| Xml Sitemap | Get a Quote | Sitemap| Why Outsource| Why Outsource to India | Articles RSS  
2007 © AssistanZ.com. Outsourced Web Hosting Support, Dedicated Web hosting Techical Support Company, India.      STPI REGISTERED