httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From T F <>
Subject [users@httpd] Re: force rewrite to occur before authentication, howto?
Date Mon, 12 Dec 2005 03:22:30 GMT
> 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).

for example, here is a 2001 post (same Joshua?)

RewriteRules get applied before authentication is performed.  Luckily,
Ralf thought of this problem and invented the convoluted syntax
%{LA-U:REMOTE_USER} to do an internal sub-request and grab the REMOTE_USER
value.  See:


The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message