View Full Version : .htaccess problems..


Andrew.S
11-03-2006, 09:02 PM
hope this is the right place.. having googled for a good hour now, I can't find any code that actually works for this yet..

I'm hoping to get a virtual subdomain forwarding system setup in which users can make their own mysubdomain.mydomain.com sort of thing that redirects to their site - i've got the whole system setup and working, I just don't know how to go about the .htaccess... i've tried lots of .htaccess generators, tutorials and forums asking the same question - no such luck...

what i need is it to go "mysubdomain.mysite.com" => "mysite.com/redirect.php?ref=mysubdomain" but it just won't work!!

Any help would be greatly appreciated,

Andrew