Enviat: 22/Oct/2008 - 16:43
Jo avui mateix he activat també les pagines personals, després de trobar-me amn aquest problema.
El què he fet (ja em dirà algú si ho he fet malament...) és afegir unes línies que estan al fitxer /etc/apache2/default-server.conf.orig i que no estan al "default-server.conf":
<IfModule mod_userdir.c>
# Note that the name of the user directory ("public_html") cannot simply be
# changed here, since it is a compile time setting. The apache package
# would have to be rebuilt. You could work around by deleting
# /usr/sbin/suexec, but then all scripts from the directories would be
# executed with the UID of the webserver.
UserDir public_html
# The actual configuration of the directory is in
# /etc/apache2/mod_userdir.conf.
Include /etc/apache2/mod_userdir.conf
# You can, however, change the ~ if you find it awkward, by mapping e.g. # http://www.example.com/users/karl-heinz/ --> /home/karl-heinz/public_html/
#AliasMatch ^/users/([a-zA-Z0-9-_.]*)/?(.*) /home/$1/public_html/$2
</IfModule>
concretament es tracta de la línia que incorpora el mod_userdir.conf a la llista de fitxers de configuració de l'Apache. No havia trobat aquesta línia ni al httpd.conf ni al default-server.conf ni a cap altre....