I'm in the process of creating a website that will allow users to create/host their own microsites to sell their product.
What I need is an apache mod_rewrite config that will do the following:
so that entering the first URL gives you the second and entering the second URL takes you to the correct microsite.
It will also have to handle querystrings, such as http://mywebsite.com/sites.php?site=mic ... oducts.php
- which would display the "products.php" page of the microsite (although that is handled using cURL and various cookies).