• Halloween is coming! To celebrate the occasion, we dusted off a couple of old skins, and even created a brand new one (Pixel).
    To get into the festive spirit, install the Skins extension.
  • The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.
  • The Plesk Mobile apps for iOS and Android and the Plesk Mobile Center extension have been deprecated, and are no longer available for new installations. In Plesk Obsidian 18.0.84, the Plesk Mobile Center extension will be removed from servers during the upgrade, and the Plesk Mobile apps will lose their server management features.
  • The Social Login extension has been deprecated and will be removed in Plesk Obsidian 18.0.84. After that, it will no longer be possible to log in to Plesk with a Google, Facebook, GitHub account, or with a passkey. Plesk usernames and passwords, as well as logging in with a WebPros Account, are not affected.

Unprotecting a Resource hasn't worked

W

webactif

Guest
Hi there anyone know how to fix this ....I removed the protection from a file and it still has a 403 Forbidden on it and no idea how to remove the 403.
Thanks :(
 
Just bumping this ...sorry - really need some help with this....anyone?
 
Originally posted by webactif
Hi there anyone know how to fix this ....I removed the protection from a file and it still has a 403 Forbidden on it and no idea how to remove the 403.
Thanks :(

How are you trying to access the file and what reports that '403 Forbidden' error??

If you access Plesk's domain in URL like http://domain.tld, verify that virtual hosts's root directory has index.html (or index.php, or index.htm, etc.)
Please check apache's DirectoryIndex:

~# grep ^DirectoryIndex /etc/httpd/conf/httpd.conf
DirectoryIndex index.html index.shtml index.cfm index.php index.htm
~#

The files you gets in output are able to be loaded by apache without direct file specification:

http://domain.tld

For example if file index.html exists in directory /var/www/vhosts/domain.tld/httpdocs, it is loaded: http://domain.tld/index.html. The same for other files specified in apache directive DirectoryIndex.

If files from apache's DirectoryIndex do not exist in /var/www/vhosts/domain.tld/httpdocs, apache gives error '403 Forbidden'.

In this case you should either re-name file in question to index.html, .. or add new file name to directive DirectoryIndex in httpd.conf. Do not forget to restart apache after modifying httpd.conf.

./anb
 
Back
Top