#1  
Old 21st March 2011, 03:11
happz happz is offline
Senior Member
 
Join Date: Feb 2008
Location: Nashville, TN
Posts: 261
Thanks: 35
Thanked 6 Times in 5 Posts
Default HTTP:// vs HTTPS://

I want to use https rather than http for one website on my ispconfig3 server running debian. What do I need to think about or do to accomplish this?

thanks,
happz
Reply With Quote
Sponsored Links
  #2  
Old 21st March 2011, 15:31
falko falko is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,711
Thanks: 1,899
Thanked 2,702 Times in 2,545 Posts
Default

http://kojiroh.wordpress.com/2007/02...tps-in-apache/
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 21st March 2011, 21:28
happz happz is offline
Senior Member
 
Join Date: Feb 2008
Location: Nashville, TN
Posts: 261
Thanks: 35
Thanked 6 Times in 5 Posts
Default Thanks Falko

This seems simple enough. So say I want just one website to use https.

Would it look like this:

Before:

RewriteEngine On
RewriteCond %{SERVER_PORT} !^443$
RewriteRule ^/(.*) https://%{SERVER_NAME}/$1 [L,R]


After:

RewriteEngine On
RewriteCond %{SERVER_PORT} !^443$
RewriteRule ^/(.*) https://%{www.mysite.com}/$1 [L,R]

HappZ
Reply With Quote
  #4  
Old 22nd March 2011, 14:28
falko falko is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,711
Thanks: 1,899
Thanked 2,702 Times in 2,545 Posts
 
Default

Try
Code:
RewriteEngine On
RewriteCond %{SERVER_PORT} !^443$
RewriteRule ^/(.*) https://%{HTTP_HOST}/$1 [L,R]
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Reply

Bookmarks

Tags
https

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't access web page with ISPConfig by http:// witoszek General 3 20th November 2009 17:43
Does ISPConfig Have a HTTPS:// folder? HCS Installation/Configuration 7 20th December 2006 13:30
Customer wants HTTPS:// mphayesuk General 4 7th July 2006 13:01
Accessing https://....:81 another way? hairydog2 Tips/Tricks/Mods 18 15th November 2005 02:07
Can't access ISPConfig by http://...:81 driftguy Installation/Configuration 7 14th September 2005 14:47


All times are GMT +2. The time now is 09:51.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.