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

Re: Newbie problems getting pages delivered via Apache



Is loopback mounting the homedirs somewhere under /var/www (with 
ro,nosuid and such) a bad idea?

The issue I see with the linking is that you/users/someone have to 
decide where to put their disk(quota).

With a loopback it's the same disk/partition.

// hdw
Ben Goren wrote:
> Nice idea, bad implementation.
> 
> Permit me to use an example. I'm making all this up in this email, so 
> please pardon typos.
> 
> $ ls -F /var/www/htdocs
> index.html ~jane/ ~john/
> $ ls -lF /home/{jane,john}
> /home/john:
> total 0
> lrwxr-xr-x  1 john  john  16 Oct 16 14:50 public_html@ -> 
> /var/www/htdocs/~john
> 
> /home/jane:
> total 0
> lrwxr-xr-x  1 jane  jane  47 Oct  2 14:33 public_html@ -> 
> /var/www/htdocs/~jane
> 
> There's no need for union mounts, monkeying with httpd.conf, disabling 
> chroot, or anything else. If you're doing this sort of thing a lot, a 
> three-line shell script is all you need to automate it.
> 
> Cheers,
> 
> b&
> 
> [demime 0.98d removed an attachment of type application/pgp-signature which had a name of PGP.sig]