• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

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