Creating Accounts Downloads via http

Discussion in 'HOWTO-Related Questions' started by pcburner, Mar 6, 2008.

  1. pcburner

    pcburner New Member

    Here's what I would like to be able to do. I have some links on my index page that go to another directory located in /var/www/html. When people click on the link it will ask them for a username and password and if they don't have one then they are to send me an email asking me for permission to download those files. How can I accomplish this? Please be specific.
  2. zcworld

    zcworld New Member

    try looking at the .htaccess files
  3. pcburner

    pcburner New Member

    Yep did that

    Thanks for that input but I did that already. Maybe this will be more clear. When people click on a link I what Apache to ask them for a username and password and they don't have access I want them to send email an email requesting access. How can I do this?
  4. falko

    falko Super Moderator ISPConfig Developer

    I think you have to write a PHP script for this.
  5. topdog

    topdog Active Member HowtoForge Supporter

    You could also avoid reinventing the wheel and get a downloads management software for sites like

Share This Page