FC6 httpd Alias/symbolic link
ignored_mailbox at yahoo.com.au
Tue Mar 6 09:02:39 UTC 2007
On Tue, 2007-03-06 at 01:59 -0500, linuxmaillists at charter.net wrote:
> My DocumentRoot is here:
> DocumentRoot "/var/www/html"
The usual place.
> My Aliases look like this:
> Alias /icons/ "/var/www/icons/"
> Alias /public_html "/home/user_name/public_html"
If you're using the userdirs feature, you don't need to mess with
i.e. http://localhost/~tim/ refers to /home/tim/public_html/
For that to work, /home/ and /home/tim/ needs to be world executable.
And, /home/tim/public_html/ needs to be world executable and readable,
likewise any files to be served in there need to be world readable.
These are the permissions applied to "other" users.
Also, you may need to change SELinux settings or contexts for those
> I want to be able to have one or two of my files
> in /var/www/html and the rest of them
> in /home/user_name/public_html
> Will this work with Alias or symbolic links?
You can use aliases, or the userdir direcctive.
(This box runs FC6, my others run FC4 & FC5, in case that's
important to the thread.)
Don't send private replies to my address, the mailbox is ignored.
I read messages from the public lists.
More information about the users