• Resolved cbonallo

    (@cbonallo)


    Why am I getting this error?

    Forbidden

    You don’t have permission to access /wp-content/uploads/mdocs/RSC Minutes January 2023.pdf on this server.

    The page I need help with: [log in to see the link]

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

    (@fahadmahmood)

    Because you were using “Memphis Documents Library” and the fold created by the other plugin was set to inaccessible using directory permissions. Kindly check the directory permissions and let me know if your issue get resolved. It has nothing to do with wp-docs plugin, it is not managing the directory permissions for the other plugins.

    Thread Starter cbonallo

    (@cbonallo)

    Thanks so much for the quik response. It refreshing! It was the .htcaccess file. This is what was in the mdocs folder:

    (mdocs directory)

    Deny from all

    Options +Indexes

    So I modified it to the same file permissions as the Uploads folder:

    #Begin Really Simple Security

    <Files *.php>

    Require all denied

    </Files>

    #End Really Simple Security

    Options +Indexes

    That fixed the issue. Do you see any security risks in this change?

    Again, Thanks for your support!

    Plugin Author Fahad Mahmood

    (@fahadmahmood)

    Security risks are always related to write permissions not the read permissions. Obviously you are providing a file in the directory navigation, you are making it public with your consent by removing the restrictions from the .htaccess, see those restrictions were not added by WordPress or wp-docs plugin but memphis. I am repeating, security risks are related to write permissions basically. And you just changed something regarding file access/read permissions. So it is not a security risk. You just removed an additional stuff added by another plugin.

    Thread Starter cbonallo

    (@cbonallo)

    I’m new to Apache so the reasurance helps. Thanks for your time.

    Cory

    Thread Starter cbonallo

    (@cbonallo)

    We just upgraded and deployed to our production site using WP Docs and the access error is back even with the above fix that worked on our clone site. Any idea why? Please help!

    Service Documents | Washington Northern Idaho Narcotics Anonymous (wnirna.org)

    Plugin Author Fahad Mahmood

    (@fahadmahmood)

    please contact your hosting server support team, they will help you in this problem

    Thread Starter cbonallo

    (@cbonallo)

    No, they are not helpful.

    Plugin Author Fahad Mahmood

    (@fahadmahmood)

    Then plan to migrate to a better hosting because this issue not related to the WordPress or the WordPress plugins.

Viewing 8 replies - 1 through 8 (of 8 total)

The topic ‘Error on download’ is closed to new replies.