Web Hosting Talk







View Full Version : Error 403 on New Virtual Site Entry


LancerForums
07-30-2002, 03:47 PM
I just added a new subdomain for my new site, but it appears that I do not have permission to view files from the web. I basically copied my main site's virtual host configuration which works correctly. Here it is:

<VirtualHost 66.28.95.136>
ServerAdmin mmodaressi@radix.net
DocumentRoot /home/members/KK/www
ServerName KK.evolutionm.net
ServerAlias kk.evolutionm.net
LogLevel error
ErrorLog logs/kk.evolutionm.net-error_log
CustomLog logs/kk.evolutionm.net-access_log combined

<Directory "/home/members/KK/www/cgi-bin">
Options +ExecCGI
Order allow,deny
Allow from all
</Directory>
</VirtualHost>

My main site config looks almost identical to this except the document root and cgi directories are different of course. The access logs show an 403 response coming up. I must have something setup wrong. Here's the simple page I'm trying to access:

http://kk.evolutionm.net/index.html

Thanks for any help,

Mark

myros
07-30-2002, 03:58 PM
Did you chmod the new 'kk' directory?
755 normaly should be fine.

Im sure you did this but have to ask ..restarted apache right? :)


Myros

myros
07-30-2002, 04:03 PM
Actualy it may be your path too. Normaly a subdomain will be inside the document route of your main site so it would be:

/home/members/main_account/www/KK

You might have a custom setup I guess but the way you set it up it would be a top level domain (ie www.kk.com)


Myros

LancerForums
07-30-2002, 04:18 PM
:lol: yeah I restarted Apache, but you never know, I've done stupider things before.

It looks I never chmod'd to 755. I think I just did the images folder :p

Thanks for the help guys.

Mark