Have you checked the actual file permissions? Usually Apache is run as
an ordinary user, so the files have to be world readable or owned by the
apache user. If apache can't read it it can't serve it either.

On Sun, 2003-10-26 at 17:51, Bryan Murdock wrote:
> I'm trying to set up apache with two virtual hosts, so I can host a
> little family web site as well as a little troop website for the
> scouts.  I've got to dyndns.org hostnames and I think I'm pretty close. 
> The main one works (the family site), but when I type in the name of the
> second I get this in the browser:
> 
> Forbidden
> You don't have permission to access / on this server.
> 
> The permissions on the DocumentRoot directory allow global reading of
> files there.  I just created a directory called /var/www/troop439 and
> specified that for DocumentRoot for the troop439 VirtualHost.
> 
> Here are the lines from my apache configuration:
> 
> ################# Named VirtualHosts
> NameVirtualHost *
> 
> <VirtualHost *>
> ServerName murdockfamily.homelinux.org
> ServerAlias *.murdockfamily.homelinux.org
> #ServerPath /domain
> DocumentRoot /var/www/html
> </VirtualHost>
> 
> <VirtualHost *>
> ServerName troop439.homelinux.org
> ServerAlias *.troop439.homelinux.org
> #ServerPath /domain
> DocumentRoot /var/www/troop439
> </VirtualHost>
> 
> Don't laugh if I did anything really dumb :)
> 
> Bryan 
> 
> 
> ____________________
> BYU Unix Users Group 
> http://uug.byu.edu/
> ___________________________________________________________________
> List Info: http://uug.byu.edu/cgi-bin/mailman/listinfo/uug-list


____________________
BYU Unix Users Group 
http://uug.byu.edu/ 
___________________________________________________________________
List Info: http://uug.byu.edu/cgi-bin/mailman/listinfo/uug-list

Reply via email to