httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joshua Slive <jsl...@gmail.com>
Subject Re: [users@httpd] Re: force rewrite to occur before authentication, howto?
Date Mon, 12 Dec 2005 14:30:30 GMT
On 12/11/05, T F <through.the.forest@gmail.com> wrote:
> > The problem is that the login box pops up before the rewrite
>
> I'm still not having any luck with this.  It appears as though
> authentication is happening before the rewrite.  I need the
> opposite:  need rewrite before the authentication.
>
> Oddly, a google search turns up posts with both situations.
> In some, people are in my boat (trying to get rewrite before auth)
>
> In others, people are stating that Apache actually rewrites before
> authentication (which is want I'm after).

It depends, I believe, on where you put the RewriteRules.  If they are
in the main server context, they happen before auth.  If they are in
.htaccess or <Directory> sections, they happen after auth.  I don't
know of any way to work around this.

Joshua.

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