• 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!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • 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 Forbidden errors

zain

New Pleskian
Server operating system version
CentOS Linux 7.9.2009 (Core)
Plesk version and microupdate number
Plesk Obsidian 18.0.53 Update #1
Hello,
I get 403 Forbidden errors when the browser sends lots of requests fast to the server. For example, when opening a gallery page with tens of images, the server starts to respond with 403 and half of the images doesn't show.
How can I change this behavior?
Thanks
 
The "403 Forbidden" error you're encountering when loading a gallery page with many images can be caused by several factors related to your server configuration and security measures.

1. Check File Permissions (CentOS with Plesk):
  • Access your server via SSH or the Plesk control panel. exclamation
  • .Use the ls -l command to view directory and file permissions.
  • Example: ls -l /path/to/your/gallery/directory
Interpret the output:

  • The first character represents the file type (d for directory, - for regular file).
  • The next three characters represent owner permissions (read, write, execute).
  • The following three represent group permissions.
  • The last three represent other permissions.
Adjust permissions if necessary:

Example: To give the owner full permissions and others read and execute permissions, use:
chmod 755 /path/to/your/gallery/directory
chmod 755 /path/to/your/gallery/images/*.jpg
# Replace *.jpg with the actual image extension

2. Review Security Settings:
  • Log in to your Plesk control panel.expand_more
  • Navigate to Security > Hotlink Protection.
  • Disable hotlinking protection if needed.
OR

  • Configure hotlinking protection to allow access from your domain.
  • Navigate to Websites & Domains > your domain > Security > ModSecurity.
  • Search for rules related to image requests or hotlinking.
  • Disable or adjust specific rules cautiously.
3. Check Cloudflare or CDN Settings:

  • Log in to your Cloudflare account (if applicable).expand_more
  • Disable security settings temporarily to check if the issue persists.exclamation
  • Consult Cloudflare documentation or customer support for specific troubleshooting steps.
4. Additional Troubleshooting:

Clear your browser cache and reload the page.

Before you make any changes, make sure you know what you're doing, and always back up your data.
 
Back
Top