|
|
#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? |
|
|
|
|
|
#11 (permalink) |
|
Registered User
Comfy Contributor
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.
|
|
|
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|