• 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/

Viewing 3 replies - 1 through 3 (of 3 total)
  • 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.

    Plugin Author Fabian

    (@fabifott)

    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.

    great post. thanks.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: WP-Filebase] .htaccess for file upload dir always defaults to deny downloads’ is closed to new replies.