On Tuesday 20 September 2005 07:44, Carl Hartung wrote:
<snipped>

Thanks Robert,

I found the problem. The default Apache2 installation on 10.0 RC1 omitted the 
section, below, from /etc/apache2/default-server.conf. When I inserted it and 
restarted Apache2, my ~/public_html directory became available.

- Carl

-- excerpt --
# UserDir: The name of the directory that is appended onto a user's home
# directory if a ~user request is received.
#
# To disable it, simply remove userdir from the list of modules in 
APACHE_MODULES 
# in /etc/sysconfig/apache2.
#
<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>
-- end excerpt --

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to