httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hilco Wijbenga <hilco.wijbe...@gmail.com>
Subject Re: [users@httpd] My RewriteRule seems to be ignored
Date Mon, 22 Aug 2011 21:55:36 GMT
On 22 August 2011 14:20, Eric Covener <covener@gmail.com> wrote:
> On Mon, Aug 22, 2011 at 4:50 PM, Hilco Wijbenga
> <hilco.wijbenga@gmail.com> wrote:
>> Hi Eric,
>>
>> On 20 August 2011 04:28, Eric Covener <covener@gmail.com> 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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message