PDA

View Full Version : Getting modrewrite to use my rule


itusedtowork
08-17-2009, 09:16 AM
Hi folks. I have this in httpd.conf

RewriteEngine on
RewriteLog "c:/rewrite.log"
RewriteLogLevel 9
RewriteRule ^testing.php$ modrewrite.php


but when I look in my rewrite error log, I don't ever see the pattern specified above being tested. Other patterns are being tested.

itusedtowork
08-17-2009, 09:37 AM
Wait, now it is showing up in the log but says
127.0.0.1 - - [17/Aug/2009:12:32:48 +0500] [localhost/sid#655148][rid#2d22e30/initial] (2) init rewrite engine with requested uri /elgg1.5/testing.php
127.0.0.1 - - [17/Aug/2009:12:32:48 +0500] [localhost/sid#655148][rid#2d22e30/initial] (3) applying pattern '^testing.php$' to uri '/elgg1.5/testing.php'
127.0.0.1 - - [17/Aug/2009:12:32:48 +0500] [localhost/sid#655148][rid#2d22e30/initial] (1) pass through /elgg1.5/testing.php

Shouldn't it say passthrough /elgg1.5/modrewrite.php ????