Re: [users@httpd] Re: setting prefer-language as part of a rewritecond

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

 



On 4/14/05, Per Jessen <per@xxxxxxxxxxxx> wrote:
> Per Jessen wrote:
> 
> >> Another guess is that might need to specify the [PT] flag to RewriteRule.
> >
> > But the URL rewrite works fine itself - it's just the value of the variable that seems
> > to disappear.  I'll try it with [pt].
> 
> Just tried with [pt] - changed nothing.

Well, I don't know what the problem is.  But my first thing to try
would be to put your RewriteRule in httpd.conf outside any <Directory>
section.  This should get the RewriteRule to run at an earlier phase
of the request processing, which might solve the problem.  But it is
just a guess.

The other thing to try would be to use SetEnvIf to set the environment variable.

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