Forum Moderators: phranque
I suspect you intended somthing like
/[^.]+\.php
which matches slash followed by one or more characters not equal to ".", followed by "php".
If this isn't clear, check out the regular-expressions tutorial cited in our forum charter.
Jim
Knew it should be something simple I wasn't seeing (can only look at things for so long before I go cross-eyed), but even with the change and the very helpful tutorial... still no go.
I'll figure it out later, not critical. Might be something in the way I am trying to verify the match also.
I did try matching .php files in the rule, then using an un-opened/closed condition with $1, which if I am understanding correctly, should implicitly match 'anything' $1 'anything', so it's probably something silly in the verification on my end.
Justin
It should be:
RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /[^.[b]]+\[/b].php.*\ [b]HTTP/[/b]
GET /wodget.php HTTP/1.1 HEAD /subdir/widget.php?color=blue&texture=fuzzy HTTP/1.0
Jim