Forum Moderators: phranque

Message Too Old, No Replies

windows mod rewrite

         

gb_dev

11:34 pm on Nov 12, 2006 (gmt 0)

10+ Year Member


wink 2k pro apache 2.0 w/rewrite enabled

rules:

RewriteRule ^/?art/([a-z]{1,1})/?$ /art.php?letter=$1 [NC,L]

called with:

http://#*$!.com/art/s/

rewrite log says:

127.0.0.1 - - [12/Nov/2006:18:31:22 --0500] [#*$!.com/sid#481040][rid#538f028/initial] (2) init rewrite engine with requested uri /art/s/

127.0.0.1 - - [12/Nov/2006:18:31:22 --0500] [#*$!.com/sid#481040][rid#538f028/initial] (1) pass through /art/s/

it keeps passing through, doesn't look like it should to me though..

jdMorgan

3:12 am on Nov 13, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Where is your rewrite code located -- httpd.conf, conf.d, or /.htaccess?

Have you tried simplifying the rule for test purposes? -- something like:


RewriteRule ^/?art/([a-z])/?$ /art.php?letter=$1 [NC,L]

Jim

gb_dev

3:27 am on Nov 13, 2006 (gmt 0)

10+ Year Member


cr@p, putting it in the conf file made it work just fine.

why would this occur, now i'm curious

jdMorgan

3:37 am on Nov 13, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Any number of reasons -- aliased paths, module load/execution order, module override privileges, etc.

Jim