This forum has been moved here:
Helicon Tech Community Forum

  Active TopicsActive Topics  Display List of Forum MembersMemberlist  HelpHelp   RegisterRegister  LoginLogin
Helicon Ape
 Helicon Tech : Helicon Ape
Subject Topic: redirect question Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
dsmythe
Newbie
Newbie


Joined: 20 September 2007
Online Status: Offline
Posts: 7
Posted: 05 April 2011 at 1:18am | IP Logged Quote dsmythe

I just need to redirect all incoming HTTP to HTTPS.. Anyone know where I can find a sample or something?

tia,
-d

Back to Top View dsmythe's Profile Search for other posts by dsmythe
 
Vyacheslav
Admin Group
Admin Group


Joined: 02 July 2008
Location: Ukraine
Online Status: Offline
Posts: 1542
Posted: 05 April 2011 at 5:14am | IP Logged Quote Vyacheslav

Hello.
Please try the following example:

Code:
RewriteEngine on
RewriteCond %{HTTPS} !on [NC]
RewriteCond %{HTTP_HOST} (.*)
RewriteCond %{REQUEST_URI} (.*)
RewriteRule .? https://%1%2 [R=301,L]


More examples you may find in the documentation: http://www.helicontech.com/ape/doc/mod_rewrite.htm

We also provide commercial support where you can get help in rules design.

Edited by Vyacheslav - 05 April 2011 at 5:33am


__________________
Slavik Shynkarenko,
Helicon Tech.
Back to Top View Vyacheslav's Profile Search for other posts by Vyacheslav Visit Vyacheslav's Homepage
 
dsmythe
Newbie
Newbie


Joined: 20 September 2007
Online Status: Offline
Posts: 7
Posted: 06 April 2011 at 12:00am | IP Logged Quote dsmythe

great, thank you so much for the assist!
Back to Top View dsmythe's Profile Search for other posts by dsmythe
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You can vote in polls in this forum