You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Luis Miguel Cruz <lu...@b2bi.es> on 2004/08/26 09:06:51 UTC

[users@httpd] redirecting from http to https

Hi,

I am looking for a solution for redirect client petitions to ssl domain.
In other words, I would like to translate http://www.domain.tld client 
petition to https://www.domain.tld

What is the best way? I have on my mind some options:

- an index page with <meta refresh> tag to redirect to https domain
- using mod_rewrite. I don't have any idea, can someone paste an example?
- using mod_redirect. No idea too, an example will be appreciated.

Security is almost the most important thing.
I don't like problems, I don't like users avoiding ssl (https) in the urls.

Thanks.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org