Re: Where do you put all your HTML stuff on a home Linux server?

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

 



On Fri, 2007-12-28 at 16:10 +0000, Chris G wrote:
> 2 - In apache's DocumentRoot (/var/www/html in my case)
> 
>     Messier with permissions if you want to edit HTML without becoming
>     root all the time.  Also not so convenient for editing even with  
>     permissions set up OK as it's not in your home directory.
> 
>     Easier to make sure that any outside access can only see what you
>     want to be seen.
> 
>     Cleaner/easier URLs without the need for symbolic links.
> 
>     Not really practical for multi-user but this doesn't apply for me.
> 
>     Need to back up separately from /home (though I suppose you could
>     make /var/html a link across to the /home partition)

I tend to follow this direction:  Change the /var/www/html ownership, or
the ownership of a sub-directory (more preferable), to yourself.  Put a
symlink from your homespace to that location (this is a shortcut for
your editing purposes, files are web served directly from Apache's usual
location for public files).

It's quite practical for multi-users, if they have their own
sub-directories in /var/www/html.  Or you change the group ownership,
and add appropriate users to that web-authoring group.

-- 
(This computer runs FC7, my others run FC4, FC5 & FC6, 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.

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[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