Re: My RewriteRule seems to be ignored

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

 



On 22 August 2011 14:59, Jeroen Geilman <jeroen@xxxxxxxxx> wrote:
> On 2011-08-22 23:55, Hilco Wijbenga wrote:
>> You nailed it. All those Rewrite* options need to be in the virtual
>> host. Then it works.
>>
>> This is surprising. I had assumed that anything outside of a virtual
>> host was a global setting and the virtual host settings overrode those
>> global settings where appropriate.
>
> Except that RewriteEngine ON is NOT inherited.
> It must occur anew in every vhost the global rules need to apply to.
> As documented...

Now that I check again, it is indeed documented. It wouldn't hurt to
make that third line bold or something. :-)

>> Can you recommend anything to read that handles such basic concepts?
>> The Apache docs are extensive but clearly you need to have a certain
>> foundation of basic Apache knowledge.
>
> No, it's all in the official documentation.
> Start at the main portal and read the various howtos and guides before
> diving into specific reference sections:
>
>            http://httpd.apache.org/docs/2.2/

I guess I hit sort of an (documented) exception. Please ignore that
whole paragraph, I should have gone a bit slower and read a bit more
before jumping in.

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