dennism Posted April 6, 2008 Share Posted April 6, 2008 I would like to have a rewriteRule to solve this problem: 1. When I visit "subdomain.mydomain.dk/" I should see "www.mydomain.dk/customers/?customer=subdomain" 2 When I visit "subdomain.mydomain.dk/testPage.php" I should see "www.mydomain.dk/customers/testPage.php" 3. When I visit "subdomain.mydomain.dk/aSubfolder/anotherSubfolder/image.jpg" I should see "www.mydomain.dk/customers/aSubfolder/anotherSubfolder/image.jpg" I hope you see the system in this rules! Link to comment https://forums.phpfreaks.com/topic/99881-rewrite-subdomain-and-subfolders/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.