Re: web management question
On Mon, May 28, 2001 at 12:39:07PM -0700, Mike Egglestone wrote:
> Hi...
>
> I need some advice on how to manage my web server....
> I work for a school and would like to setup web pages for students....
>
> I have apache installed and proftpd
>
> How would I manage the server so that students could have write access
> to their web folder... for example
>
> jimmy would have this folder as his home page:
> /var/www/students/jimmy
>
> /var/www/students/jimmy/homepage.html would be his first page
>
> Anyway.... if his normal home directory is here:
> /home/jimmy
>
> How do I give him access to write to his web directory via ftp or some remote way?
> If jimmy was on the lan......then I could easily setup a samba share to students...
> and he would have write access only to his folder there....but what if he's outside the lan....
> at home......and wants to update his pages.....?
>
> I was thinking I could change his regular home directory (/home/jimmy to /var/www/students/jimmy) via /etc/passwd.... but is that a good idea?
why not?
you might want to add a html subdir, but having a html subdir in the
users homedir is the easiest solution, since you can use
/etc/ftpchroot then
--
,-------------------------------------------.
> Name: Alson van der Meulen <
> Personal: alson@linuxfreak.nl <
> School: alson@gymnasiumleiden.nl <
`-------------------------------------------'
Hmm, maybe if I do this...
---------------------------------------------
Reply to: