[prev in list] [next in list] [prev in thread] [next in thread] 

List:       apache-httpd-users
Subject:    Re: [users@httpd] public_html folder in chroot environment
From:       Pete Houston <ph1 () openstrike ! co ! uk>
Date:       2012-10-26 8:32:01
Message-ID: 20121026083201.GA21649 () palma ! openstrike ! co ! uk
[Download RAW message or body]


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
--=20
Openstrike - improving business through open source
http://www.openstrike.co.uk/ or call 01722 770036 / 07092 020107

[Attachment #3 (application/pgp-signature)]

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic