Forum Moderators: phranque
http://www.my-sub-folder.example.com on their browser's address bar, it will get / retrieve the contents of the page from http://www.example.com/my-sub-folder (but the address bar will remain as is (http://www.my-sub-folder.example.com)? How about this one?
http://www.member-name.example.com retrieved from http://www.example.com?var=member-name [edited by: Gian04 at 1:23 am (utc) on Sep. 30, 2008]
The distinction you're looking for with "address bar will remain" is that you want an internal (URL-to-filepath) rewrite, and not an external (URL-to-URL) redirect.
Jim
The threads that turn up will likely be helpful to get you started. Modify the code to suit your needs, test, and if any problems, post specific questions back here.
Jim