Fix Apache AH00132: file permissions deny server access
For a 403 with Apache AH00132, check that the request user can open the plain file at the end of the log line. Compare responses for mode 000 and 0644.
[Fri Nov 27 23:35:21.433202 2026] [core:error] [pid 9:tid 18] (13)Permission denied: [client 203.0.113.7:37264] AH00132: file permissions deny server access: /usr/local/apache2/htdocs/lab-file.txtApache found the file for the request but could not open it. The (13)Permission denied early in the line is the operating system's reason, and the path at the end is the file it could not open. The request user has no read permission on that file, so start with the file's permissions.
[1] GET the same URL and look for AH00132 in the error log. This code differs from AH01630 (blocked by Require) and AH00037 (blocked symlink). It appears at the step that opens the file, after access control let the request through. For log locations, see Apache log location. In the test it was found in the container log.
$ docker logs gblab-apache-ah00132-file-permissions-deny-server-access 2>&1 | grep AH00132[2] From the path in the log, check the file permissions and the request user. Apache usually starts as root but handles requests as the user set by the User directive. The httpd:2.4 image used in the test had these values. Other installs differ, so read your own config file.
$ grep -E '^(User|Group) ' /usr/local/apache2/conf/httpd.confUser www-dataGroup www-data[3] Check the file and its parent directories. ls -l shows owner, group, and mode of the file; namei -l shows the permissions of each directory on the path. The test file had mode 000.
$ ls -l htdocs/lab-file.txt$ namei -l /srv/lab/htdocs/lab-file.txt | tail -n 2---------- 1 deploy deploy 16 Nov 28 08:35 htdocs/lab-file.txtdrwxr-xr-x deploy deploy htdocs---------- deploy deploy lab-file.txtOwner, group, and others all lack permissions, so the request user cannot read it. The parent directory was 755 and passable, so the file alone was the problem here. A blocked parent directory was not tested, so read every line of namei -l.
[4] If the file is meant to be public, give it read permission. Static files are usually 0644. Note the current mode first, and restore it if the change causes trouble. If a file that must not be public sits in the document root, do not open its mode; move it out of the document root.
$ chmod 644 htdocs/lab-file.txt$ ls -l htdocs/lab-file.txt-rw-r--r-- 1 deploy deploy 16 Nov 28 08:35 htdocs/lab-file.txt[5] GET the same URL again. Only the mode changed, so Apache does not need a restart. In the test, the same container returned 200 after the change to 0644.
$ curl -sS -o /dev/null -w '%{http_code}\n' 'http://example.com/lab-file.txt'200The full log shows the first request as 403 and the next as 200, with AH00132 logged once.
GET /lab-file.txt HTTP/1.1 403GET /lab-file.txt HTTP/1.1 200In the source, this message is logged when opening the static file in read mode with apr_file_open fails, and Apache returns 403. The operating system's error is added in front, like (13)Permission denied in the log. Apache 2.4.71 core.c
Analyze your Apache log in the browser ↗ — nothing is uploaded.
Check it with the HTTP status codes tool ↗ — calculated in your browser.