localhost, xampp, win 7
site root folder is s02
, so all relevant files, including .htaccess
is under this folder.
links like this work fine:http://localhost/news/s02/view.php?art=160915142500&title=blue-sky
I want the following computed urlhttp://localhost/articles/160915142500/blue-sky
.htaccess
RewriteEngine on
RewriteBase /
RewriteRule ^articles/([0-9]+)/([a-zA-Z-_]*)$ view.php?art=$1&title=$2 [NC,L]
result - error 404
httpd.confLoadModule rewrite_module modules/mod_rewrite.so
- uncommentedAllowOverride All
.htaccess (test) - this works:
RewriteEngine on
RewriteRule ^ http://example.com/? [L,R]
phpinfo();mod_rewrite
is under Loaded Modules
Any help?