• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    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.

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