Hello.
I am trying to lock a client out of a PHP application I created them but, still allow them a "virtual" access to the doc root using:
RewriteCond %{DOCUMENT_ROOT}/ftp/%{REQUEST_URI} -f [OR]
RewriteCond %{DOCUMENT_ROOT}/ftp/%{REQUEST_URI} -d
RewriteRule ^(.+) /ftp/$1 [L]
This works like a charm when a user goes to: http://domain.com/dir/
, but going to http://domain.com/dir
causes a the browser url field to display a http://domain.com/ftp/dir/
which makes me sad.
Any ideas as to why?