PDA

View Full Version : Dont now how to set this up - Accounts - apache


mrkmg
4th April 2008, 18:03
I am running a Debian 4.0 file server with Webmin and Samba.
I have Webmin automatically turn unixs account into samba accounts.
When someone logs in via samba (\\servername) they are shown two folders: their home folder and a open folder.
Their home folder is limited via quotas to 2 gigs.
All that works PERFECT

So then I installed apache
What i want to do, is allow to the users to come to a website hosted from the file server, log in, and view their files and the open files. I am fairly skilled in c, cpp, php, perl and i know a fair amount of how to use linux. I have 3 other "perfect server setups Debian Etch" running perfectly.

dont worry about IPs or anything, i just need to know how to get apache to serve each users home folder to them if they authenticate

falko
5th April 2008, 22:04
I think you'd have to write some PHP scripts that authenticate the user, check where his Samba share is, and serve up the files in te share.