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

[OT] Apache userdir und openbasedir?



ja hallo erstmal,..

ich verwende Apache 1.3 (sarge). Jeder Benutzter hat mit mod userdir sein 
eigenes Home. Nun sollen die Benutzer auf php dürfen. Zur Trennung wollte ich 
die user mit der PHP-Option OpenBasedir auf ihr Home/public_html beschränken. 
Mir ist nur nicht so ganz klar, wie ich diese Anweisung in der httpd.conf 
formulieren soll.
Any hints?

Danke,
Keep smiling
yanosz

So sieht die config zur Zeit aus:

IfModule mod_userdir.c>
    UserDir public_html
</IfModule>

#
# Control access to UserDir directories.  The following is an example
# for a site where these directories are restricted to read-only.
#
<Directory /home/*/public_html>
    AllowOverride FileInfo AuthConfig Limit
    Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec
    <Limit GET POST OPTIONS PROPFIND>
        Order allow,deny
        Allow from all
    </Limit>
    <Limit PUT DELETE PATCH PROPPATCH MKCOL COPY MOVE LOCK UNLOCK>
        Order deny,allow
        Deny from all
    </Limit>
</Directory>



Reply to: