Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

Coding Forum


You are currently viewing our Coding Forum as a guest. Please register to participate.
Login



Reply
htaccess mod_rewrite help
Old 01-17-2008, 06:15 PM htaccess mod_rewrite help
Novice Talker

Posts: 5
Name: Alex Baker
Location: Manchester, England
Trades: 0
Hi,
Can somebody help me with this please:
I'm creating a site where users register and get a subdomain.. but I don't want the subdomains to physically exist - I want to use htaccess to... ahhh I'll demonstrate:

I want http://user1.domain.com/anything.php to go to http://www.domain.com/anything.php?user=user1
http://user2.domain.com/anything.php ==> http://www.domain.com/anything.php?user=user2
etc etc

I do *NOT* want the page to redirect.. I want user.domain.com/anything to display in the address bar but use the other file.

Thanks in advance.
-Alex
AJRAD is offline
Reply With Quote
View Public Profile Visit AJRAD's homepage!
 
 
Register now for full access!
Reply     « Reply to htaccess mod_rewrite help
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.17032 seconds with 12 queries