httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vincent Bray" <nood...@gmail.com>
Subject Re: [users@httpd] Automatic Redirect to a Secure Page in Apache 2.2.2
Date Wed, 07 Mar 2007 14:07:39 GMT
On 07/03/07, Kaplan, Andrew H. <AHKAPLAN@partners.org> wrote:
> Hi there --
>
>  I have set up SquirrelMail on our e-mail server and I would like to have
> users be automatically redirected to a secure or https page when they type
> in the URL to get to the initial login page. The apache server is version
> 2.2.2. What file(s) should I modify to make this happen?

The simplest way to do this is via:
RedirectPermanent / https://example.com/
in a non-ssl vhost. You can get more complicated by using
RedirectMatch ^/something$ https:// if you wish to redirect only
certain urls, and more complicated yet using mod_rewrite.
See here if you like complication:
http://rewrite.drbacchus.com/rewritewiki/SSL

-- 
noodl

---------------------------------------------------------------------
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


Mime
View raw message