• 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 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