• Hi, Pleskians! We are running a UX testing of our upcoming product intended for server management and monitoring.
    We would like to invite you to have a call with us and have some fun checking our prototype. The agenda is pretty simple - we bring new design and some scenarios that you need to walk through and succeed. We will be watching and taking insights for further development of the design.
    If you would like to participate, please use this link to book a meeting. We will sent the link to the clickable prototype at the meeting.
  • (Plesk for Windows):
    MySQL Connector/ODBC 3.51, 5.1, and 5.3 are no longer shipped with Plesk because they have reached end of life. MariaDB Connector/ODBC 64-bit 3.2.4 is now used instead.
  • 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.

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