mod_rewrite subdomain

Reply

Join Date: Oct 2004
Posts: 348
Reputation: paradox814 is an unknown quantity at this point 
Solved Threads: 4
paradox814's Avatar
paradox814 paradox814 is offline Offline
Posting Whiz

mod_rewrite subdomain

 
0
  #1
Mar 17th, 2005
i need to point all files in a subdomain to a different subdomain, but I *do not* want to redirect them, for intance

htp://abc.domain.com/file1.php
should really be:
htp://www.domain.com/subd/abc/file1.php

htp://abc.domain.com/file2.php
should really be:
htp://www.domain.com/subd/abc/file2.php

etc etc...
is this possible, and if so can i see an example? If it makes things easier i can write a unique htaccess file for every subdomain, I don't need it to be completly generic
Reply With Quote Quick reply to this message  
Join Date: Jan 2004
Posts: 152
Reputation: floris has a spectacular aura about floris has a spectacular aura about 
Solved Threads: 2
floris's Avatar
floris floris is offline Offline
vBulletin.com Staff

Re: mod_rewrite subdomain

 
0
  #2
Mar 17th, 2005
I always mess it up, I start simple and then want more and more and get things too complex and then it breaks. So I better not give tips
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the Linux Servers and Apache Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC