CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Need a Custom or Prewritten Perl Program?: I need a program that...:
redirect http to https script

 



rebelo
Novice

Jun 8, 2003, 12:23 PM

Post #1 of 4 (1452 views)
redirect http to https script Can't Post

Looking for a perl script that would redirect automaticaly any page like http://mydomain.com/.. or http://www.mydomain.com/.. to https://mydomain.com/..

Important is that redirect would have to be allways https://mydomain.com/.. WITHOUT THE WWW (even if is called from a www page).


Jasmine
Administrator

Jun 9, 2003, 7:35 AM

Post #2 of 4 (1450 views)
Re: [rebelo] redirect http to https script [In reply to] Can't Post

[url=http://www.scriptsolutions.com/programs/free/domaindirector/]DomainDirector will do what you need.


Paul
Enthusiast

Jun 9, 2003, 9:34 AM

Post #3 of 4 (1446 views)
Re: [rebelo] redirect http to https script [In reply to] Can't Post

Id use a rewrite for this rather than perl

RewriteCond %{REQUEST_URI} !^https://
RewriteRule ^.* https://domain.com/ [L,R]


rebelo
Novice

Jun 9, 2003, 9:51 AM

Post #4 of 4 (1439 views)
Re: [Paul] redirect http to https script [In reply to] Can't Post

But what do I do with the rewrite?
An .htaccess in the corresponding folder ?

We have no root access.

 
 


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives