Re: [opensuse] 11.0 Apache2 SSL AuthDBM - Prompted for user/passwd Twice?
- From: "Andrew Joakimsen" <joakimsen@xxxxxxxxx>
- Date: Tue, 18 Nov 2008 23:06:20 -0500
On Mon, Nov 17, 2008 at 01:38, David C. Rankin
<drankinatty@xxxxxxxxxxxxxxxxxx> wrote:
Andrew Joakimsen wrote:
On Sun, Nov 16, 2008 at 00:12, David C. Rankin
<drankinatty@xxxxxxxxxxxxxxxxxx> wrote:
Spoke too soon. There is still a multiple password prompt when the https
rewrite is invoked. Is there a way I can change the order of the directory
definition in httpd.conf to avoid this?
The HTTP re-write is being password protected, that is:
1) User requests http://site.com/whatever/ -> Authentication request #1
2) Rewrite to https://site.com/whatever/
3) Authentication #2 on the "new site"... the browser treats
https://site.com & http://site.com as 2 different sites.
So simply setup the not https directory not to be password protected.
Of course do not serve the files there, just the redirect/rewrite.
Thanks, but in this situation, the there isn't a way to separate files for
access either by http or https, there is only one set of files that must be
available to both protocols.
The rewrite only occurs for access by IPs outside the local lan. I don't want
users on the local lan to have to use https to access the files, but I do want
everyone to have to authenticate. I don't want people outside the lan to access
the files without https to prevent passwords from flying across public space in
the clear.
I know that http:// and https:// are two different authentication contexts, but
why can't I just do a redirect before the authentication takes place?
If it is internal vs external why can't you use 2 IP addresses on the
system, then setup on the 2nd IP the HTTPS server and HTTP virtualhost
without authentication with only the redirect. I assume you are using
some sort of firewall device for your external access in which case
this should work well (just don't forget to change what IP address the
firewall forwards to.
Or you can make both the http and https be a redirect without a
password, based on the connection bein internal or external it will
forward to the correct place. It will require you change the URL the
files are at but with the redirect any old links will still work.
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx
- Follow-Ups:
- Re: [opensuse] 11.0 Apache2 SSL AuthDBM - Prompted for user/passwd Twice?
- From: David C. Rankin
- Re: [opensuse] 11.0 Apache2 SSL AuthDBM - Prompted for user/passwd Twice?
- References:
- [opensuse] 11.0 Apache2 SSL AuthDBM - Prompted for user/passwd Twice?
- From: David C. Rankin
- Re: [opensuse] 11.0 Apache2 SSL AuthDBM - Prompted for user/passwd Twice?
- From: David C. Rankin
- Re: [opensuse] 11.0 Apache2 SSL AuthDBM - Prompted for user/passwd Twice?
- From: David C. Rankin
- Re: [opensuse] 11.0 Apache2 SSL AuthDBM - Prompted for user/passwd Twice?
- From: Andrew Joakimsen
- Re: [opensuse] 11.0 Apache2 SSL AuthDBM - Prompted for user/passwd Twice?
- From: David C. Rankin
- [opensuse] 11.0 Apache2 SSL AuthDBM - Prompted for user/passwd Twice?
- Prev by Date: Re: [opensuse] booting to command line instead of desktop
- Next by Date: Re: [opensuse] Attempting (and failing) to use my UPS
- Previous by thread: Re: [opensuse] 11.0 Apache2 SSL AuthDBM - Prompted for user/passwd Twice?
- Next by thread: Re: [opensuse] 11.0 Apache2 SSL AuthDBM - Prompted for user/passwd Twice?
- Index(es):
Relevant Pages
|