Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

Username Password Protection not working

Help
Mike Levin
2010-07-30
2013-04-15
  • Mike Levin
    Mike Levin
    2010-07-30

    I have been testing PaKnPosT Pro for a week or so and it does everything I need it to do. I really like it a lot and would like to use it in a production environment so that our clients can send/receive large files without having to deal with FTP. The only thing I can't get to work is the "Allow optional user-set username/password protection for uploaded files". If I set this to yes, and enter a username and password for an uploaded file, I do get the "Please click here to enter your username and password and retrieve your file(s)". However, when I click that link, I get the directory listing for the folder the uploaded file resides in. I can click and view or right click and save without being prompted for a username/password. If I can get the username/password protection working, I would be thoroughly pleased with this application. Thanks for any help that can be provided.

     

  • Anonymous
    2010-11-16

    Was this ever resolved?
    Thanks

     
  • PZ KC
    PZ KC
    2011-10-24

    I ran into this problem also. It looks like PaKnPosT Pro's directory security is handled by .htaccess files. More information about them can be found here: https://httpd.apache.org/docs/2.2/howto/htaccess.html. To solve this problem, I needed to add the following to /etc/apache2/apache2.conf:

    <Directory /var/www/pnp/>
    AllowOverride all
    </Directory>