icon Get the most out of Surmunity, read our tips here! Need an interesting blog to read? You've got to read the Surpass Blog! | Welcome! Please register to access all of our features.
Old May 4th, 2006, 11:28 PM   #10 (permalink)
Registered User
Fresh Surpasser
 
Joined in Aug 2004
9 posts
Gave thanks: 0
Thanked 0 times
I found this online, but it's still not working:

RewriteCond %{HTTP_HOST} !^www\.mysite\.com
RewriteCond %{HTTP_HOST} ([^.]+)\.browse\.mysite\.com [NC]
RewriteRule ^(.*)$ http://www.mysite.com/browse/?loc=%1 [L,R]

It's supposed to work like this: If somebody goes to http://subdirectory.browse.mysite.com they are redirected to http://www.mysite.com/browse/?loc=subdirectory

Do I need to do something special to turn wild cards on for sub domains?
brentayers is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old May 5th, 2006, 7:52 AM   #11 (permalink)
Registered User
Comfy Contributor
 
Z`ohki's Avatar
 
Joined in Aug 2005
Lives in Netherlands
Hosted on Pass48
124 posts
Gave thanks: 0
Thanked 0 times
Yea you need to contact support and ask them to turn on wild card subdomains, then you can use htaccess to create the subdomains.
Z`ohki is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

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

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