compu-tom Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
Joined: 09 Jan 2003 Posts: 415 Location: Berlin, Germany
|
Posted: Sat May 31, 2003 7:21 am Post subject: Re: setting up /~username on Apache |
|
|
This is already enabled in the /etc/apache/conf/commonapache.conf: Code: | <Directory /home/*/public_html>
AllowOverride All
Options MultiViews -Indexes Includes FollowSymLinks
Order allow,deny
Allow from all
</Directory>
|
If it doesn't work for you, check the permissions of the directories and files you want to access. You need
- at least "rx" permissions for "others" for public_html and dirs below ("r" only if you want to have dir listing in absence of an index.html),
- at least "x" for "others" for all dirs to / (e.g., for /, /home, /home/username),
- and "r" for all files under public_html which you want to access.
This is because the user apache is not the owner of the user's files and apache's group is probably not "users" but "apache".
To trace errors look in /var/log/apache/{access,error}_log. |
|