Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 Mar 2005 13:05:39 -0800
From:      Benjamin Keating <motionsiren@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   Apache2 (ports) and VirtualHosts Problems
Message-ID:  <781e2bc0050309130510c07cb0@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
I'm Running FreeBSD 5.3 and Apache2, compiled from Ports.

I'm setting up a series of VirtualHosts in Apache. Apache runs fine
otherwise. The vhosts that are not working are under:
/data/vhosts/<domain.com>/{www,logs}/ (where /data/ is a single
filesystem on it's own harddrive). Here is a sample vhost entry:

NameVirtualHost *:80

<VirtualHost *:80>
    ServerName www.motionsiren.com
    ServerAlias motionsiren.com
    DocumentRoot /data/vhosts/motionsiren.com/www/
</VirtualHost>

Logs go to the general log file to KISS for now. All the directories
(and files) involved are executable by all. Im starting to think it's
my /data filesystem because another VirtualHost, works just fine. i.e:

<VirtualHost *:80>
    ServerName bpk.deepdream.org
    DocumentRoot /usr/home/bkeating/public_html
</VirtualHost>

My access_log reports a 403 when i try to hit www.motionsiren.com and
my error_log reports:

[Wed Mar 09 13:00:37 2005] [error] [client 64.81.54.23] client denied
by server configuration: /data/vhosts/motionsiren.com/www/

Any Ideas? Do I need to setup a Directory directive for /data..../?
Thanks for reading.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?781e2bc0050309130510c07cb0>