D&C GLug - Home Page

[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]

Re: [LUG] mod_rewrite weirdness

 

2010/1/4 Simon Waters <simon@xxxxxxxxxxxxxx>:
> michael mortimore wrote:
>>
>> and there are no rewrite rules in any of them
>>
>> So the questions in my mind are:
>> 1/ why is it working at all?
>> 2/ since it's working, where is it keeping the rules?
>> 3/ how do I make it use my .htaccess file again?
>
> Browser caching can make this fun.
>
> Enable the rewrite log and see what it says....
>
It says... *drum roll*... absolutely nothing.

I added:

RewriteLog "/var/log/apache2/rewrite.log"
RewriteLogLevel 3

to sites-enabled/000-default and restarted apache.  rewrite.log is
created but browsing around the site doesn't produce any entries.

I deleted rewrite.log and moved those options to apache2.conf instead.
Again rewrite.log is created but not populated.

access.log confirms that the requests are getting to apache.

In sites-enabled/000-default I just tried setting RewriteEngine off
and deleting rewrite.load from mods-enabled. it's still rewriting!

Is there some other magical method of url rewriting that I've started
using by accident?

-- 
The Mailing List for the Devon & Cornwall LUG
http://mailman.dclug.org.uk/listinfo/list
FAQ: http://www.dcglug.org.uk/linux_adm/list-faq.html