Hi there.
I have on my computer apache 2.2. and I cannot use UserDir directive.
I create in my home folder public_html dir
In /usr/local/etc/apache22/httpd.conf
I have
and after that
in /extra/httpd-userdir.conf
i have
but if I try in web browser
http://my.web.server/~user
I get
Can anyone tell me what I did wrong?
Thanks a lot
I have on my computer apache 2.2. and I cannot use UserDir directive.
I create in my home folder public_html dir
In /usr/local/etc/apache22/httpd.conf
I have
Code:
LoadModule userdir_module libexec/apache22/mod_userdir.so
Code:
# User home directories
Include etc/apache22/extra/httpd-userdir.conf
in /extra/httpd-userdir.conf
i have
Code:
# Settings for user home directories
#
# Required module: mod_userdir
#
# UserDir: The name of the directory that is appended onto a user's home
# directory if a ~user request is received. Note that you must also set
# the default access control for these directories, as in the example below.
#
UserDir public_html
UserDir disabled root toor daemon operator bin tty kmem games news man sshd bind proxy _pflogd _dhcp uucp pop www nobody mailnull smmsp
#
# 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 Indexes
Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec
<Limit GET POST OPTIONS>
Order allow,deny
Allow from all
</Limit>
<LimitExcept GET POST OPTIONS>
Order deny,allow
Deny from all
</LimitExcept>
</Directory>
but if I try in web browser
http://my.web.server/~user
I get
403 Forbidden
You don't have permission to access /~user on this server.
Can anyone tell me what I did wrong?
Thanks a lot