• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Resolved File permissions on HTML websites?

Richard Follett

Basic Pleskian
I have a folder that contains all my HTML websites (WP sites in seperate folder).

So my logic is to change the file permissions on this folder to READ only as that is all is required.. But when I do this the site cannot be viewed.. why do I need write & Execute ?

Screenshot

Is it possible to do what I want?
 
well , you can try changing the permissions and then see the error message and the error logs. It will give you an idea of why you need such write and execute permissions.
 
good idea! - so this is the error

[crit] (13)Permission denied: /var/www/vhosts/-------------.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable, referer: Google

I dont have an .htaccess file - not sure I need one for my HTML websites, do i?
 
Back
Top