Looking for Apache help
I'm actually looking for someone who can help me with mod_rewrite so this is off-topic in here. If anyone can point me towards an apache community then i would be very grateful.
I am trying to set up user subdomains for my website.
/homedir/ is the location of the actual website available at www.abc.net
/homedir/user/$username is the location of the website $username.abc.net
At the moment I can get it to redirect $username.abc.net to www.abc.net/user/$username but I don't want it to do this. I want it to recognise the alternate domain name and serve the files from /homedir/user as if it were the document root. My previous attempts have resulted in the process recurring ad infinitum (eg. user/username/user/username/user/usernam e).
Can anybody help?
I am trying to set up user subdomains for my website.
/homedir/ is the location of the actual website available at www.abc.net
/homedir/user/$username is the location of the website $username.abc.net
At the moment I can get it to redirect $username.abc.net to www.abc.net/user/$username but I don't want it to do this. I want it to recognise the alternate domain name and serve the files from /homedir/user as if it were the document root. My previous attempts have resulted in the process recurring ad infinitum (eg. user/username/user/username/user/usernam
Can anybody help?
