Re: My RewriteRule seems to be ignored

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

 



On 22 August 2011 14:20, Eric Covener <covener@xxxxxxxxx> wrote:
> On Mon, Aug 22, 2011 at 4:50 PM, Hilco Wijbenga
> <hilco.wijbenga@xxxxxxxxx> wrote:
>> Hi Eric,
>>
>> On 20 August 2011 04:28, Eric Covener <covener@xxxxxxxxx> wrote:
>>>> Please note that I have set logging to maximum and a log file *is*
>>>> created but it stays empty. So apparently the RewriteRule never fires.
>>>
>>> No "rewriteengine on" or the vhost handling the request isn't the one
>>> with the RewriteRule?
>>
>> RewriteEngine is on and the ProxyPassMatch rule is firing. I've
>> attached my full config. I've tried to simplify it but it's still 200+
>> lines. The important stuff is at the bottom. I would very much
>> appreciate it if you could take a quick peek to tell me what I'm doing
>> wrong.
>>
>
> I think you need to enable the rewritelog* in the virtualhost to get output.

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.

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.

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