Lab-tested: Local lab server, 6 scenarios (Python 3.13.5) · 2 Dec 2026 · Every branch reproduced in our lab
Fix Box — Try this first (10 seconds)
Answer three questions in the tree below. Who sees the 403? Which pages does it hit? What does the error log say?
The tree names your blocking layer and the first fix to try.
Use the 403 Decision Tree
403 Decision Tree
Answer three questions about your 403. The tree names the layer that is most likely blocking you, and the first fix to try. Only test sites you own.
Lab basis: on 2 Dec 2026 we reproduced six scenarios on a local lab server. A root deny rule, a subfolder deny rule, permission 000, a folder without execute, an IP blocklist, and an IP allowlist. This tree named the correct layer in all six cases.
403 Decision Tree: Find Your Blocking Layer by 403.my.id.
The tree asks who sees the 403 first. That answer alone separates IP blocks from site-wide blocks.
Then it asks which pages are hit, and what the log says.
Each answer removes layers from suspicion. The result names the most likely layer. It also gives the first fix for that layer.
The three questions, in order
Question one: who sees it? If only you see it, the block follows your IP. Test from another network to confirm.
Question two: which pages? All pages point to a root rule or a global block. One folder points to a rule or permission inside that folder.
Question three: what does the log say? “Permission denied” means file permissions. “Access forbidden by rule” means a deny rule fired.
A Ray ID on the error page means Cloudflare decided.
Our lab test behind this tree
We validated the tree against six reproduced scenarios on 2 Dec 2026. Each scenario ran on our local lab server.
The tree had to name the correct layer for every one.
A root deny rule gave: everyone, all pages, “access forbidden by rule”. The tree answered server deny rule.
A permission 000 file gave “Permission denied”, and the tree answered file permissions.
An IP blocklist gave: only one address blocked, the other fine. The tree answered IP block.
A subfolder deny rule gave one-path scope, and the tree answered the folder rule.
All six scenarios passed. The same logic runs in the tool below. Nothing in the tree is guesswork; each branch came from a measured case.
Where each answer sends you
A server deny rule sends you to the .htaccess guide. File permissions send you to the file permissions guide.
An IP block sends you to the IP blocked guide.
A Ray ID sends you to the Cloudflare guide. An unclear result means one thing: read the error log at the minute of a fresh 403.
The pillar guide explains every layer in depth.
FAQ
Frequently Asked Questions
Does the tree contact my site?
No. It works from signals you observe. It never sends requests, so it is safe for any site you own.
What if two layers block me at once?
Fix the outer layer first, then run the tree again. A Cloudflare block can hide a permission problem behind it. The tree handles one layer per pass, honestly.
Why ask who sees it before the log?
The “only me” answer is decisive on its own. It rules out permissions and site-wide rules in one step. The log then confirms the exact rule.
Sources and date
Lab test: 2 Dec 2026, local lab server on our SI machine (Python 3.13.5). Six scenarios reproduced: root deny, subfolder deny, permission 000, folder without execute, IP blocklist, and IP allowlist.
Tree logic validated 6 of 6 against the measured outcomes.
References
- RFC 9110 §15.5.3 — 403 Forbidden: https://www.rfc-editor.org/rfc/rfc9110.html
- MDN Web Docs — 403 Forbidden: https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Status/403
- Apache HTTP Server — Access control how-to: https://httpd.apache.org/docs/2.4/howto/access.html
- Nginx — ngx_http_access_module: https://nginx.org/en/docs/http/ngx_http_access_module.html
