On Fri, 14 Nov 2003 19:00:50 +0100 Dennis Freise <[EMAIL PROTECTED]> wrote:
> I would have liked to test the following before posting, but I managed to > break my libphp4 and am currently rebuilding php - so no testing currently :\ I was able to test it now. It works as I suggested, but you can also insert the block into a virtual-server config (<VirtualHost...>). If you do so, you should comment out the directive <IfModule mod_userdir.c>...</IfModule> in /etc/apache2/conf/commonapache2.conf and insert the whole block into the vhost-config. Then the userdir-feature is only available for that particular vhost, which I prefer. Be sure to put the <Directory /home/*/public_html>...</Directory> somewhere below that. > Insert the following in /etc/apache2/commonapache2.conf: > > <Directory /home/*/public_html> > AllowOverride File AuthConfig Limit > > Options Indexes SymLinksIfOwnerMatch IncludesNoExec > <IfModule mod_access.c> > Order allow,deny > Allow from all > > </IfModule> > </Directory> I also noted that the home-directory of the user, the dir 'public_html' and all webfiles under that dir must have mode 0755/0644 for userdir to work. -- Dennis Freise <[EMAIL PROTECTED]> GnuPG key fingerprint: 2DE8 CCEF 6E20 11D4 3B27 21EC B0BA 1749 D2C8 38ED Get my public key at : http://www.final-frontier.ath.cx/gpg_public_key.txt
pgp00000.pgp
Description: PGP signature
