once more: .htaccess - RewriteRules working, but browser address bar displaying full (unfriendly) URL
- by audio.zoom
Hi,
I can't seem to find my problem with this really simple .htaccess file:
Options -Indexes
Options +FollowSymLinks
RewriteEngine on
RewriteBase /d/
#drupal style url rewriting
RewriteRule ^([^.]*)$ index.php?path=$1 [L]
It works as intended for everything except the root url with no slash. So it rewrites and passes the hidden get querystring to my pages for localhost/d/x/y/z as ?path=x/y/z and localhost/d/ as ?path= (blank) but...
localhost/d works, but now appears in the address bar as this ugly monster:
http://localhost/d/?path=/Users/audiozoom/Documents/webroot/d
What could be the problem?