This forum has been moved here:
Helicon Tech Community Forum

Helicon Ape (Forum Locked Forum Locked)
 Helicon Tech : Helicon Ape
Subject Topic: redirect question
Author
Message |
dsmythe
Newbie


Joined: 20 September 2007
Posts: 7
Posted: 05 April 2011 at 1:18am

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
 
Vyacheslav
Admin Group


Joined: 02 July 2008
Location: Ukraine
Posts: 1542
Posted: 05 April 2011 at 5:14am

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 Visit Vyacheslav's Homepage
 
dsmythe
Newbie


Joined: 20 September 2007
Posts: 7
Posted: 06 April 2011 at 12:00am

great, thank you so much for the assist!
Back to Top
 

Sorry, you can NOT post a reply.
This forum has been locked by a forum administrator.

Printable version Printable version