Re: [users@httpd] How to redirect to SSL if authentication is requested

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

 



I think you'll have to use your own authentication script or in other words you'll have to authenticate only after you see that authentication is needed
rather than automatically based off of access settings.

A script that can tell whether or not someone is using https and whether or
not they've authenticated would do the trick.

Thanks,
Boysenberry

boysenberrys.com | habitatlife.com | selfgnosis.com

On Jul 24, 2006, at 9:31 AM, Neulinger, Nathan wrote:

Is there any straightforward way to tell apache (2.0 build from RHEL) to
redirect if authentication is requested?

I want to prevent any use of Basic auth on the cleartext/http side of
the vhost. I can do that easily by disabling AuthConfig overrides on
that vhost. However, this results in all pages breaking that were using
that support.

What I'd like to be able to do is cause any use of AuthInfo on the http
host to immediately generate a redirect response to the same server
name, port 443.

Is this possible?

-- Nathan

------------------------------------------------------------
Nathan Neulinger                       EMail:  nneul@xxxxxxx
University of Missouri - Rolla         Phone: (573) 341-6679
UMR Information Technology             Fax: (573) 341-4216


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





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