Dont now how to set this up - Accounts - apache

Discussion in 'Server Operation' started by mrkmg, Apr 4, 2008.

  1. mrkmg

    mrkmg New Member

    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
     
    Last edited: Apr 4, 2008
  2. falko

    falko Super Moderator Howtoforge Staff

    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.
     

Share This Page