I understand I can use a script to redirect domain requests to a certain folder on my server.
eg
Master domain www.mydomain.com
secondary domain www.mydomain2.com also points to www.mydomain.com but gets redirected to say www.mydomain.com/anotheruser/
(a)What script do I need to do this and
(b)what url does the user see in the browser? Does the user see www.mydomain.com/anotheruser/index.html or www.mydomain2.com/index.html
All advice gets free pints next time you're in Ireland.
cheers
Mike
The user sees the URL from the oringal link, but is redirected to another page.
You can also use PHP to send new header info an redirect, but this would be a lot less efficient.
You can get a primer on how to do this at
[httpd.apache.org...]
I'm not sure I have all the slashes right - hoepfully someone better at mod_rewrite will chime in and correct my gross errors! Anyway, in your .htaccess in the highest level directory
RewriteEngine on
RewriteRule ^www.mydomain2.com/(.*) [mydomain.com...]
Tom