Having some trouble with rewrite rules. Here's the rule and surrounding lines:
RewriteEngine On
RewriteLog /var/log/httpd/rewritelog
RewriteLogLevel 9
RewriteRule ^/invoices/?([^/]*)/?([^/]*)/?([^/]*)/? \
/invoices/index.php?year=$1&month=$2&day=$3 [PT]
If I understand correctly this should send requests to
voip-call.us/invoices/2006/10/26
to this URL
voip-call.us/invoices/index.php?year=2006&month=10&day=26
but when I hit the first URL above I get a 404. The error log shows
the 404, and the rewrite log (which is writable by Apache) shows
nothing.
Can anyone see the problem I'm missing?
Dan
/*
PLUG: http://plug.org, #utah on irc.freenode.net
Unsubscribe: http://plug.org/mailman/options/plug
Don't fear the penguin.
*/