Re: FC6 httpd Alias/symbolic link

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 2007-03-06 at 01:59 -0500, linuxmaillists@xxxxxxxxxxx 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
aliasing it.

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
files.

> 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.


[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux