httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rob Wilkerson <r.d.wilker...@gmail.com>
Subject Re: [users@httpd] Modifying environment variables passed to CGI's.
Date Wed, 04 Oct 2006 21:11:50 GMT

On Oct 4, 2006, at 5:01 PM, Jason Lingel wrote:

> Thanks for your help.  It pointed me in the right direction, though  
> it still doesn't quite work.  Here are the entries I made in my  
> httpd.conf:
>
> RewriteLog /opt/asn/logs/rewrite.log
> RewriteLogLevel 5
> RewriteCond %{LA-U:REMOTE_USER} ^(.*)@ COMPANY.COM$
> RewriteRule /.* - [E=REMOTE_USER:%1]
>
My first thought is that you may not be able to overwrite an existing  
variable.  Try inserting a new variable instead:

RewriteRule /.* - [E=REMOTE_USER_NO_DOMAIN:%1]

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