• We value your experience with Plesk during 2024
    Plesk strives to perform even better in 2025. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2024.
    Please take this short survey:

    https://pt-research.typeform.com/to/AmZvSXkx
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Issue 403 error: Unable to access blog posts

DigitalSplendid

Regular Pleskian
Server operating system version
Plesk Hosting Stack on Ubuntu
Plesk version and microupdate number
18.0.44

Attachments

  • 1653549519440.png
    1653549519440.png
    251.7 KB · Views: 6
"Hello, DigitalSplendid,

Your web server has a permission issue to access a particular file.
I would like to suggest you one command that you can perform.
- find /var/www/vhosts/test.com/httpdocs/ -type d -exec chmod 755 {} \;
And please make sure that the path of the directory should be as per your website's."
 
On Lightsail terminal (SSH), used the following command:

/var/www/vhosts/webcosec.com/httpdocs

Here is the output (screenshot). It may be that I am not using SSH properly.
 

Attachments

  • Untitled design (8).png
    Untitled design (8).png
    472.7 KB · Views: 7
Please try the following commands on the command line.
(the '#' is to indicate you're logged in as root, you don't have to type that)

Code:
$ sudo su
<type your password>

# find /var/www/vhosts/webcosec.com/httpdocs/* -type d -exec chmod 0755 {} \; 
# find /var/www/vhosts/webcosec.com/httpdocs/$* -type f -exec chmod 0644 {} \;
 
Hello Digitalsplendid,

I am sorry but. I would still recommend you execute the command I suggested to you. as you have gone up to.

/var/www/vhosts/webcosec.com/httpdocs

Please, execute the full command.

find /var/www/vhosts/test.com/httpdocs/ -type d -exec chmod 755 {} \;
 
You gained root access after the first execution of the command:

$ sudo su

This is indicated by the # symbol at the beginning of the command line.
 
Please try the following commands on the command line.
(the '#' is to indicate you're logged in as root, you don't have to type that)

Code:
$ sudo su
<type your password>

# find /var/www/vhosts/webcosec.com/httpdocs/* -type d -exec chmod 0755 {} \;
# find /var/www/vhosts/webcosec.com/httpdocs/$* -type f -exec chmod 0644 {} \;

Here is the screenshot: https://www.canva.com/design/DAFCP5...share&utm_medium=link2&utm_source=sharebutton

Still getting 403 error https://webcosec.com/index.php/2022...iness-going-online-as-you-start-from-scratch/
 
Hi,

Can you please show the contents of the error_log after you've opened the blog posts?

Subscription -> Logs -> error_log
 
Back
Top