httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Roger B.A. Klorese" <rog...@queernet.org>
Subject [users@httpd] mod_vhost_alias, directories, 403
Date Wed, 30 Apr 2003 18:53:31 GMT
1.3.27 on Red Hat 7.2.

I'm using mod_vhost_alias for the first time and am sure i've omitted
something, as I am coming up with 403's.

 

Boiling down what seem to be relevant portions of the config (and a few
not), we have:

DocumentRoot "/var/www/html"


<Directory />
    Options FollowSymLinks
    AllowOverride None
</Directory>

<Directory "/var/www/html">
    Options Indexes FollowSymLinks
    AllowOverride All
    Order allow,deny
    Allow from all
</Directory>

<Directory /webs/*/docs>
    AllowOverride All
    Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec
FollowSymlinks
    Order allow,deny
    Allow from all
</Directory>

LogFormat "%V %h %l %u %t \"%r\" %s %b" vcommon
CustomLog logs/access_log vcommon

VirtualDocumentRoot /webs/%0/docs
VirtualScriptAlias  /webs/%0/cgi-bin
ScriptAlias /cgi-central/ /var/www/cgi-bin/

 

...and a request for http://www.virtualhost1.org/index.html -- which
should be the file at /webs/www.virtualhost1.org/docs/index.html --
gives a 403.

 

Are NameVirtualHost and VirtualHost directoves still required, or should
this do it?  What else am I missing?


Mime
View raw message