Re: [users@httpd] rewrite rule not setting environment variable

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Apr 11, 2005 12:04 PM, AndyJudson <ajudson@xxxxxxxxxxxxxxxxxxxxxx> wrote:

>  ## this would be my equivalent rewrite rule, but fails... always says the
> env-var is not set!!
>  
>  #RewriteRule ^/trac/([[:alnum:]]+)(/?.*)
> http://www.oatsoft.org/cgi-bin/trac.cgi$2
> [E=TRAC_ENV:"c:\\program\ files\\subversion\\trac\\oats"\\$1] 

Does the URL in the client's location bar change with the direct?  If
so, you are doing an external-redirect, which will lose the env
variable.  Replace http://www.oatsoft.... with simply
/cgi-bin/trac.cgi$2 to get an internal-redirect.

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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux