Re: Server-Variables in CondPattern of RewriteCond directive

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

 



On Wed, Apr 22, 2009 at 10:14 AM, Basil Mohamed Gohar
<abu_hurayrah@xxxxxxxxxxxxxxxxx> wrote:
>>
>> Outside of htaccess, the pattern is compiled at startup, so you can't
>> use variables (because they depend on parts of the request, even
>> ServerName).
>>
>> IIUC It's feasible in per-directory, but not implemented.
>>
>>
>
> So, what this means is it's not possible as it stands right now, correct?

Correct. You can usually get to the same ultimate result by putting
the variables in the 2nd argument and being more clever with captures
and multiple conditions, etc.

If you can describe what your end goal is, someone here might be able
to help construct a ruleset.

-- 
Eric Covener
covener@xxxxxxxxx

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