• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Issue You do not have permission to access this document.

Kingsley

Silver Pleskian
Hello;

When i tried to update old article from 2012 to 2015 i received the following error message

Forbidden
You do not have permission to access this document.


Web Server at healthable.org

I have deleted the admin user which i used to setup the site and all contents moved to a new admin, i dont think this should affect old post right?
 
Hello;

Turns out Modsecurity is causing the issue. i tried using the below htacess code but it never worked.

Code:
<IfModule mod_security.c>
 SecFilterEngine Off
 SecFilterScanPOST Off
</IfModule>
 
Don't know if you solved your problem or not, but I had a similar issue, so I figured I'd post the solution.

I ported a site over from another server using rsync, and when I did that it set both the user and group to root. So in order to be able to modify the site through Plesk and FTP I needed to change the user to the Plesk-assigned admin for that domain. I used a recursive chown to do it:
Code:
chown -R myadmin:psacln *

But apparently I executed it from the domain directory (/var/www/vhosts/mydomain.com) when I should have done it from the httpdocs directory (/var/www/vhosts/mydomain.com/httpdocs).

The result was that the httpdocs directory itself was assigned the same user and group as all of the files within the directory - user: myadmin, group: psacln - when it should have been set to user: myadmin, group: psaserv. Once I reassigned the httpdocs directory to the proper user group the problem went away. Hope this helps either you or some other poor soul who stumbles upon the same problem.
 
Last edited:
Hello;

Turns out Modsecurity is causing the issue. i tried using the below htacess code but it never worked.

Code:
<IfModule mod_security.c>
 SecFilterEngine Off
 SecFilterScanPOST Off
</IfModule>
was having exactly same problem. I have Plesk Linux VPS. went into my Plesk dashboard and turned off MOD Security PROBLEM SOLVED
 
Back
Top