Apache Rewrite Rules
Nicholas Leippe
nick at leippe.com
Fri Nov 10 10:41:24 MST 2006
On Friday 10 November 2006 10:23, Daniel C. wrote:
> 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]
try dropping the leading '/', none of my rules have it:
RewriteRule ^invoices/?([^/]*)/?([^/]*)/?([^/]*)/? \
invoices/index.php?year=$1&month=$2&day=$3 [PT]
More information about the PLUG
mailing list