[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
chrooted httpd and <directory>
- To: misc_(_at_)_openbsd_(_dot_)_org
- Subject: chrooted httpd and <directory>
- From: Vlad Ciubotariu <vlad_(_at_)_happyspot_(_dot_)_org>
- Date: Tue, 26 Jul 2005 13:28:15 -0400
Which path should I use in a <directory> directive in the config file
for a chrooted httpd?
In both cases below, changing Deny to Allow achieves the desired effect.
thanks!
<Directory /var/www/users/*>
AllowOverride FileInfo AuthConfig Limit Options
Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec
ExecCGI
<Limit GET POST OPTIONS PROPFIND>
Order allow,deny
Deny from all
</Limit>
<Limit PUT DELETE PATCH PROPPATCH MKCOL COPY MOVE LOCK UNLOCK>
Order deny,allow
Deny from all
</Limit>
</Directory>
<Directory /users/*>
AllowOverride FileInfo AuthConfig Limit Options
Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec
ExecCGI
<Limit GET POST OPTIONS PROPFIND>
Order allow,deny
Deny from all
</Limit>
<Limit PUT DELETE PATCH PROPPATCH MKCOL COPY MOVE LOCK UNLOCK>
Order deny,allow
Deny from all
</Limit>
</Directory>
Visit your host, monkey.org