954,113 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

mod_rewrite subdomain

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

paradox814
Posting Whiz
351 posts since Oct 2004
Reputation Points: 13
Solved Threads: 4
 

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 :D

floris
Junior Poster
162 posts since Jan 2004
Reputation Points: 115
Solved Threads: 2
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You
View similar articles that have also been tagged: