Forum Moderators: phranque
1. I rewrite a toplevel domain to a subdirectory..
RewriteCond %{HTTP_HOST} [^.]*toplevel\.com$
RewriteCond %{REQUEST_URI}!^/server/toplevel/
RewriteRule ^(.*)$ /server/toplevel/$1 [L]
2. I type-in a directory without a index file...
e.g. toplevel.com/members (member's directory only contains one file members.htm and NO index files to load by default)
3. I get a forbidden error, but the real problem is the rewrite breaks down and the address bar reads:
'http://www.myactualserver.com/server/toplevel/members/'
How can I mask this so that the result shows
[toplevel.com...] and a forbidden msg...
I know it can be done cause someone did another site for me and it behaves as desired...