Wildcard DNS with URI Request

Posted by gregavola on Stack Overflow See other posts from Stack Overflow or by gregavola
Published on 2010-03-16T11:50:31Z Indexed on 2010/03/16 12:06 UTC
Read the original article Hit count: 247

Filed under:
|
|

So here is my problem. I want to redirect name.domain.com/trips/1 to domain.com?username=name&trip=1 using modrewrite. Is this possible? I have the dns set up correctly however - I am unsure about the htaccess file. Can I link all this information to one PHP or do I need to create a directory for every user?

Thanks for your help.

© Stack Overflow or respective owner

Related posts about php

Related posts about .htaccess