Within your vhost configuration, you have to add a directory instruction for the specific directory where your vhost is.
For example
<VirtualHost 192.168.0.10>
#Your specific config goes here
<Directory "path_to_directory">
Options -Indexes FollowSymLinks MultiViews
AllowOverride All
<IfModule mod_access.c>
Order allow,deny
Allow from all
</IfModule>
</Directory>
</VirtualHost>
I faced the exact same problem with my configuration and with the directory
instruction, it is working like a charm.
Albert Charron
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of matt-nc
Sent: Wednesday, September 14, 2005 1:22 PM
To: [email protected]
Subject: Re: [newbie] apachectl command not found
At 12:42 PM 9/14/05 -0400, you wrote:
>you are running apachectl as root, ain't you?
Yup!
I'm now using
#service --full-restart httpd
to restart after messing with the conf files.
I'm still trying to get a name-based virtual host to serve documents out of
a directory under the /home directory instead of the default /var/www/html.
If you have any suggestions related to the latter task they would be
appreciated as well.
Matt
smime.p7s
Description: S/MIME cryptographic signature
