chmpdog Posted May 11, 2010 Share Posted May 11, 2010 hello. How do I make a virtual sub-domain I tried something like this but no dice: RewriteCond %{HTTP_HOST} ^(www\.)?urbanfishingshow\.com$ RewriteRule ^([^/.]+)(/.*)?$ http://$1.urbanfishingshow.com$2 [L,R=301] what is my problem? Gracias Link to comment https://forums.phpfreaks.com/topic/201315-virtual-subdomain/ Share on other sites More sharing options...
cags Posted May 11, 2010 Share Posted May 11, 2010 I don't really understand your question, what is the overall objective here? Link to comment https://forums.phpfreaks.com/topic/201315-virtual-subdomain/#findComment-1056288 Share on other sites More sharing options...
chmpdog Posted June 1, 2010 Author Share Posted June 1, 2010 well I wanted to make a virtual subdomain. Basically I have the folder /photo/ and I want it to be photo.urbanfishingshow.com instead. I still have no idea how to do this. Link to comment https://forums.phpfreaks.com/topic/201315-virtual-subdomain/#findComment-1066256 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.