I'm running WAMP on a WIndows 7 PC. I have the rewrite_module checked in the Apache modules.
I'm trying to send
/category/testit/12347
to
category_id.php?name=testit&id=12347
category_id.php is in by base directory. The rewriterules are:
RewriteEngine On
RewriteRule ^category/([^/]*)/([\d]+)$ /category_id.php?name=$1&id=$2 [NC,L]
I've tried it with and without the leading /, nothing works. The access.log reports:
::1 - - [28/Sep/2016:13:45:54 -0500] "GET /category/testit/12347 HTTP/1.1" 404 4
I'm trying to send
/category/testit/12347
to
category_id.php?name=testit&id=12347
category_id.php is in by base directory. The rewriterules are:
RewriteEngine On
RewriteRule ^category/([^/]*)/([\d]+)$ /category_id.php?name=$1&id=$2 [NC,L]
I've tried it with and without the leading /, nothing works. The access.log reports:
::1 - - [28/Sep/2016:13:45:54 -0500] "GET /category/testit/12347 HTTP/1.1" 404 4