RewriteEngine/RewriteRule without an <IfModule mod_rewrite.c> guard breaks every request with a 500 when mod_rewrite isn't loaded. Replace it with per-folder .htaccess deny rules (already used by includes/, now added for sql/) that only depend on mod_authz_core/mod_access, which are essentially universal on Apache. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| .htaccess | ||
| auth.php | ||
| bootstrap.php | ||
| db.php | ||
| footer.php | ||
| forbidden.php | ||
| functions.php | ||
| header.php | ||
| permissions.php | ||