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! Quote Link to comment https://forums.phpfreaks.com/topic/99881-rewrite-subdomain-and-subfolders/ Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.