[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

chrooted httpd and <directory>



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