• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

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