CLEAROS TEAM please take notice. The problem returned this morning. I check the permissions on directory /var/www/html and found they had been returned to drwxrwx---. Again I could not access the web page being served. Again I reset the permissions to drwxrwxr-x and now it is working again. Something last night changed the permissions on this directory.
I have a very simple web server set up on ClearOS. It is a simple HTTP file and uses only the default ClearOS settings. It has worked well for several years through several versions of ClarkConnect and ClearOS. This morning we could not access the web page and started getting the following error message:
403 Forbidden -- You don't have permission to access / on this server.
The web server is set for "LAN Only" access by the "AllUsers" group. There are no users or groups set up on the server beyond the factory defaults.
I noticed several automatic updates were installed on the server last night. Could this be part of the problem?
From the httpd error log: [Thu May 19 08:41:19.870390 2016] [core:crit] [pid 23506] (13)Permission denied: [client 192.168.0.19:54117] AH00529: /var/www/html/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable and that '/var/www/html/' is executable.
I have a very simple web server set up on ClearOS. It is a simple HTTP file and uses only the default ClearOS settings. It has worked well for several years through several versions of ClarkConnect and ClearOS. This morning we could not access the web page and started getting the following error message:
403 Forbidden -- You don't have permission to access / on this server.
The web server is set for "LAN Only" access by the "AllUsers" group. There are no users or groups set up on the server beyond the factory defaults.
I noticed several automatic updates were installed on the server last night. Could this be part of the problem?
From the httpd error log: [Thu May 19 08:41:19.870390 2016] [core:crit] [pid 23506] (13)Permission denied: [client 192.168.0.19:54117] AH00529: /var/www/html/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable and that '/var/www/html/' is executable.
In Web Server
Share this post:
Responses (3)
-
Accepted Answer
-
Accepted Answer
-
Accepted Answer
The file permissions for the directory /var/www/html were drwxrwx---
The "all other" users were unable to access the directory or files in it.
From the directory /var/www I ran chmod -R 775 html This corrected the problem.
Now my question to the ClearOS team, what changed the access and permission to this directory last night?
Please login to post a reply
You will need to be logged in to be able to post a reply. Login using the form on the right or register an account if you are new here.
Register Here »