| View previous topic :: View next topic |
| Author |
Message |
OnlyTheTony LXF regular

Joined: Mon Jan 08, 2007 11:51 am Posts: 303
|
Posted: Thu Mar 18, 2010 10:14 am Post subject: Apache Help Needed |
|
|
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:
Change http://mywebsite.com/sites.php?site=micrositename into http://mywebsite.com/micrositename 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=micrositename&page=products.php - which would display the "products.php" page of the microsite (although that is handled using cURL and various cookies).
Any ideas? _________________ If at first you don't succeed, call it v1.0 |
|
| Back to top |
|
 |
bobthebob1234 LXF regular

Joined: Thu Jan 03, 2008 9:38 pm Posts: 1356 Location: A hole in a field
|
|
| Back to top |
|
 |
OnlyTheTony LXF regular

Joined: Mon Jan 08, 2007 11:51 am Posts: 303
|
Posted: Thu Mar 18, 2010 2:15 pm Post subject: |
|
|
Bob,
Cheers for that - been googling like mad for a solution but never came across that one! _________________ If at first you don't succeed, call it v1.0 |
|
| Back to top |
|
 |
bobthebob1234 LXF regular

Joined: Thu Jan 03, 2008 9:38 pm Posts: 1356 Location: A hole in a field
|
Posted: Thu Mar 18, 2010 7:15 pm Post subject: |
|
|
the wonders of google! _________________ For certain you have to be lost to find the places that can't be found. Elseways, everyone would know where it was |
|
| Back to top |
|
 |
| View previous topic :: View next topic |
|