View Full Version : anything.yourdomain.com
CoasterPunk
6-21-03, 03:59 PM
Does Powweb have any plans to let us do something like this
http://anything.yourdomain.com
http://something.yourdomain.com
http://cool.yourdomain.com
The Way it is now
http://www.yourdomain.com
alphadesk
6-21-03, 04:08 PM
Powweb has that as the default setup using the " * "(wildcard). You've always had it.
http://anything.rollercoasterpunk.com/
http://something.rollercoasterpunk.com/
http://cool.rollercoasterpunk.com/
CoasterPunk
6-21-03, 04:55 PM
ok but is there a way to make http://anything.rollercoasterpunk.com a diffrent page then http://something.rollercoasterpunk.com ?
If not will it ever? :)
Yes - this is called subdomains. See http://help.powweb.com/tutorials/htaccess/subdomain.php
CoasterPunk
6-21-03, 05:35 PM
So change......
RewriteEngine On
Options +FollowSymlinks
RewriteBase /
RewriteCond %{HTTP_HOST} sub.yoursite.com
RewriteCond %{REQUEST_URI} !subfolder/
RewriteRule ^(.*)$ subfolder/$1 [L]
to
RewriteEngine On
Options +FollowSymlinks
RewriteBase /
RewriteCond %{HTTP_HOST} Forums.rollercoasterpunk.com
RewriteCond %{REQUEST_URI} !Forums/
RewriteRule ^(.*)$ Forums/$1 [L]
Does it matter that I use .htaccess of my error page?
Originally posted by CoasterPunk
Does it matter that I use .htaccess of my error page?
No, .htaccess can contain both subdomain redirection and customised error page instructions.
Ulysse
CoasterPunk
6-21-03, 05:48 PM
Cool but should this work? Because its not working
RewriteEngine On
Options +FollowSymlinks
RewriteBase /
RewriteCond %{HTTP_HOST} Forums.rollercoasterpunk.com
RewriteCond %{REQUEST_URI} !Forums/
RewriteRule ^(.*)$ Forums/$1 [L]
You do realize that you have Forums with a capital F. So your directory must also have a capital F. Best to leave everything in lower case.
vBulletin v3.6.0, Copyright ©2000-2009, Jelsoft Enterprises Ltd.