Re: public_html folder in chroot environment

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

 



On Fri, Oct 26, 2012 at 10:35:35AM +0530, val john wrote:
> Seems like apache not getting username second time when using * character

That's correct - it is only the first occurrence of an asterisk in the
UserDir path which is replaced. Since you are already chrooting
individual users into their own chroots (or so it appears) the solution
is to put their web space at eg.

	/mnt/ftphome/chroot/username/var/www/html

instead. You will have to ensure that the user has write access to
there, of course.

HTH,

Pete
-- 
Openstrike - improving business through open source
http://www.openstrike.co.uk/ or call 01722 770036 / 07092 020107

Attachment: pgpzvtXx4wu0f.pgp
Description: PGP signature


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux