WordPress.org

Forums

WP-Filebase Download Manager
[Plugin: WP-Filebase] .htaccess for file upload dir always defaults to deny downloads (4 posts)

  1. Remington700
    Member
    Posted 4 years ago #

    Hello! I'm using the latest version of WP-Filebase and WordPress 3.1. I'm having some trouble with downloads.

    My file directory is wp-content/uploads/files. There's an .htaccess file in that directory which says:

    Order deny,allow
    Deny from all

    I have to change this to "Allow from all" or simply delete both lines before anyone can download anything. Otherwise, several users have reported clicking on something to download and getting a "403 Forbidden" error. I have done this several times, but the .htaccess reverts to "deny from all" every 24 or so hours. Even if I /delete/ the .htaccess file, it reappears the next day. I think that this must be some option in wp-filebase, because I have no other plugins for file uploading OR plugins using that directory. I've tried to set all my wp-filebase options toward allowing people - even unregistered users and soforth - to download things. Users are allowed up to 100 downloads a day, no restrictions as far as I know.

    I'm not sure if there's an option or something that I'm missing. If anyone has had a similar experience, please let me know. If not, is there someway I can keep my .htaccess from updating/reverting?

    http://wordpress.org/extend/plugins/wp-filebase/

  2. highway
    Member
    Posted 4 years ago #

    I had the same problem on my site. I changed the .htaccess file to read:

    Order allow,deny
    Allow from all

    I haven't had any problem's since the change. I'm not saying this is the best solution, but it seems to be working.

  3. Fabian
    Member
    Plugin Author

    Posted 4 years ago #

    Users should not have access to the directory were the files are stored, the plugin reads the files and directly sends the content to the browser. However, I will add an option to disable the automatic protection.

  4. ladykitty
    Member
    Posted 3 years ago #

    great post. thanks.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WP-Filebase Download Manager
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic