Re: [arch-dev-public] cleaned-up apache package

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



On Fri, Jun 20, 2008 at 09:38:42AM -0400, Dale Blount wrote:
> > > +1 on the change from /home, but I don't think /usr/share is the right
> > > place.  /usr should be able to be mounted read-only except when software
> > > is changed.  That's something you can't do if you keep websites
> > > there.  /var/www or /srv/www are much better choices.
> > 
> > You got me wrong. :-) /usr/share is used only for the datadir. According to 
> > configure this is for "read-only architecture-independent data". And those 
> > things should stay in /usr/share. There is no pre-configured documentroot 
> > where you have to put your webpages. That's up to the user who has to adjust 
> > httpd.conf to his needs. Nobody should put his web content 
> > under /usr/share. :-) But there will be an install message about this.
> 
> /usr/share will host the error directory.  I for one have several hosts
> with custom error files, although I suppose a rw remount to change those
> isn't the end of the world.

I think the idea behind /usr/share is that you copy the data to where
you actually want to host it. If you have custom error pages you
wouldn't even bother with /usr/share and just put copies of those pages
where you're hosting (/srv/www for example).




[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux