PDA

View Full Version : SubDomin problem


AlirezA
3-8-03, 06:45 PM
I made my subdomin and i pointed it to my file correctly but i dont know why it just shows the homepage any idea?

I used this

RewriteEngine On
Options +FollowSymlinks
RewriteBase /
RewriteCond %{HTTP_HOST} sub.yoursite.com
RewriteCond %{REQUEST_URI} !ali/index.htm
RewriteRule ^(.*)$ ali/index.htm$1 [L]

NMS
3-8-03, 07:38 PM
no need for the index.htm part...follow the tutorial

stevel
3-8-03, 08:09 PM
You have to replace "sub.yoursite.com" with the actual subdomain you want to use. Also, remove the index.htm, as nmsupplies says.

AlirezA
3-9-03, 04:18 PM
Thanks
But now i'm getting
You are not authorized to view this page
The CHMod are correct :(