943,693 Members | Top Members by Rank

Mar 17th, 2005
0

mod_rewrite subdomain

Expand Post »
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
Similar Threads
Reputation Points: 13
Solved Threads: 4
Posting Whiz
paradox814 is offline Offline
351 posts
since Oct 2004
Mar 17th, 2005
0

Re: mod_rewrite subdomain

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
Reputation Points: 115
Solved Threads: 2
Junior Poster
floris is offline Offline
152 posts
since Jan 2004

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Linux Servers and Apache Forum Timeline: Assistance please..
Next Thread in Linux Servers and Apache Forum Timeline: Pray for help on mod_rewrite rule





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC