#1  
Old 23rd June 2006, 14:36
derfy derfy is offline
Junior Member
 
Join Date: Apr 2006
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default http redirect to https

I like to run some websites only on https.
When a user request the site on http I want to have a redirect to the same site on https. It is simple with a "Redirect / https://site.tld" statement in the httpd.conf vhost file for that site.
In the user interface a extra item after the "SSL:" for "https Only" ?

Thanks in advance
Fred Krom
Reply With Quote
Sponsored Links
  #2  
Old 24th June 2006, 14:55
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,744 Times in 2,577 Posts
Default

Have a look here: http://www-1.ibm.com/support/docview...id=swg21114864

You can put the rewrite rules in the Apache Directives field of the web site or in an .htaccess file.
__________________
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 24th June 2006, 21:04
derfy derfy is offline
Junior Member
 
Join Date: Apr 2006
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default

Hi Falco,

Thanks, filled the text in the ispconfig "Apache Directives" field and it work ok. There is always more than one way to get it working!

RewriteEngine on
RewriteCond %{SERVER_PORT} =80
RewriteRule ^(.*) https://%{SERVER_NAME}%{REQUEST_URI}

Fred
Reply With Quote
Reply

Bookmarks

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
ISPConfig: from http to https & from https to http Hans Tips/Tricks/Mods 13 12th March 2013 23:22
From HTTP to HTTPS fastcooler Installation/Configuration 4 15th April 2006 15:43
redirect an application (egroupware) from http to https blackflag Installation/Configuration 13 21st February 2006 21:44
ISPConfig - From HTTPS to HTTP Hans Installation/Configuration 4 13th February 2006 19:27
from http to https after installation? Mahir Installation/Configuration 25 7th December 2005 20:40


All times are GMT +2. The time now is 17:36.


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