On Tue, Sep 06, 2005 at 04:09:24PM -0700, Vizion wrote:
> On Tuesday 06 September 2005 10:20, the author Vizion
contributed to the
> dialogue on-
> [users httpd] Virtual host config:
>
> >Hi
> >
> >My Apache2 runs on Unix (Freebsd) with
> >httpd.conf including
> >ServerRoot "/usr/local"
> >DocumentRoot "/usr/local/www/data"
> >
> >It is so long ago that I was working on apache that
I have forgotten the
> >basics!
> >
> >I am adding a number of virtual hosts the files
located as
> >
> >/usr2/virtualhosts/vhostname1/
> >/usr2/virtualhosts/vhostname2/
> >etc
> >
> >I want to keep the existing website running under
/usr/local/www/data as
> > well as the virtual hosts.
> >
> >I do not want to try the Virtual-Host Aliases until
I have got my head
> > around the basics!
> >
> >I have set up a virtualhosts.conf file using an
Include directory:
> >
> >Include etc/apache2/Includes/*.conf
> >
> ><VirtualHost x.x.x.x>
> > DocumentRoot /usr2/virtualwebs/vhostname1
> > ServerName vhostname1.com
> > AcceptPathInfo On
> ></VirtualHost>
> >
> >I am clearly not getting my set up/permissions
right because I get
> >
> >You don't have permission to access / on this
server.
> >
> >It seems some needed directives are missing from
the virtualhosts.conf
> > and/or httpd.conf files.
FreeBSD port default configuration restricts access to
$/www.
You must explicitly allow access to other directories.
clem
|