Re: [users@httpd] Redirect conditional on SSL/non-SSL

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

 



On Wed, Aug 17, 2005 at 01:26:52PM +0200, Mads Rosendahl wrote:
> Hi Brian,
> 
> A very simple solution that works on any type of webserver is to replace 
> the standard 403.4
> "SSL Required" error document with some sort of automatic redirect code. 
> In apache.conf
> you would put e.g.
> 
>  ErrorDocument 403 /error/ssl_auto_redirect.php

Hmm, that's a thought - although a 403 will also be generated for other
types of error (e.g. bad username/password in a protected area), so care
would be needed not to get into an infinite redirect loop...

Cheers,

Brian.

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