Re: Automatic Redirect to a Secure Page in Apache 2.2.2

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 07/03/07, Kaplan, Andrew H. <AHKAPLAN@xxxxxxxxxxxx> 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@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux