httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alan Chandler <>
Subject Re: [users@httpd] URL Rewriting on a uer by user basis
Date Sat, 21 Aug 2004 21:02:18 GMT
On Saturday 21 August 2004 21:28, A wrote:
> Developers,
> Something ha sbeen keeping me up all day and i ve been
> bogged down without any hope of finding a fix.
> What i would like to do is quite simple but i have
> found nothing that helps.
> I have a server which has authentication.  I want to
> map the url requested to a predefined URL
> say i access
> uName==paul  passwd==paul
> i want to map this to

Look at mod_rewrite in the manual, and particularly the directive RewriteRule

You can use %{REMOTE_USER} in the output pattern to include the actually 
authenticated user name, or you can instead provide a mapping from username 
to some other string (RewriteMap directive)

Alan Chandler
First they ignore you, then they laugh at you,
 then they fight you, then you win. --Gandhi

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