• Hi isaacchapman,

    i was exited to finally have found a plugin with these abilities.
    But actually, its not working.
    Just, tried it on a fresh install of wp 3.3.2.
    Uninstall of akismet plugin was the only tweak.
    So “htaccess secure files” remains the only plugin.

    Secured one uploaded file. If done, it is completely protected. Even for admin, although default roles are set.
    I can read php, but am unable to give any help to find the error, sorry.

    Despite that the redirection is broken as well.

    I really would like to see a fix here 😉

    http://wordpress.org/extend/plugins/htaccess-secure-files/

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author isaacchapman

    (@isaacchapman)

    Can you post the contents of the .htaccess file that is in the same folder on the file system as the secured file?

    Thread Starter Lyelle

    (@lyelle)

    #### DO NOT EDIT BELOW (Htaccess Secure Files plugin created content) ####
    RewriteEngine On
    # For files that do not exist use WordPress’ root index.php
    RewriteCond %{SCRIPT_FILENAME} !-f
    RewriteRule . /securenewinstall/wordpress/index.php [L]
    # For files that do exist see if they are secured
    RewriteCond %{SCRIPT_FILENAME} -f
    #### Start of Htaccess Secure Files plugin created entries ####
    RewriteRule ^(listDec10\.pdf) \wp-content\plugins\htaccess-secure-files/dl.php?f=$1 [L]
    #### End of Htaccess Secure Files plugin created entries ####

    Plugin Author isaacchapman

    (@isaacchapman)

    From looking at the .htaccess file it appears the rewrite rules do not match as the path of /securenewinstall/wordpress/index.php should be similar to the wp-content/… path from my recollection. I’ll take a look at the code later today and see if I can find where the discrepancy is being generated.

    Thread Starter Lyelle

    (@lyelle)

    Hi Isaacchapman,

    any progress on this problem?

    Plugin Author isaacchapman

    (@isaacchapman)

    Sorry for not responding. I tried creating different folder structure installs and couldn’t replicate how the last RewriteRule line is being created. Are you using Apache on Windows perhaps (which might explain why the slashes are flipped)?

    Thread Starter Lyelle

    (@lyelle)

    Right, this install was done on a windows apache server.
    Besides, i have other installs without flipped slashes not working either.

    Plugin Author isaacchapman

    (@isaacchapman)

    I didn’t have the time to test the installation on Apache on Windows, but I did make the plugin a bit smarter about when WordPress is installed in a sub-directory.

    Please install the newest version of the plugin and inform me if it is still a problem. (And if you are using Apache, why would you use Windows???)

    Thread Starter Lyelle

    (@lyelle)

    Did not solve the problem, sorry.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘[Plugin: Htaccess Secure Files] Error in WP 3.3’ is closed to new replies.