Forum Moderators: phranque
abc.com/test (without the trailing slash)
reveals my rewrite e.g. abc.com/reweritesubdirectory/test
However, abc.com/test/ (with the trailing) slash appears correct.
How can I rewrite the first case in my .htaccess file such that the subdirectory of the rewrite (I am rewriting a toplevel domain to a subdirectory) does not show up.
The Apache 1.3 URL Rewriting Guide [httpd.apache.org] provides a solution for this specific problem as the fourth example under "URL Layout".
HTH,
Jim