added on local at 2026-06-21 23:17:18
| 1 | # ===================================================================== | |
| 2 | # Meta-Admin -- webroot .htaccess | |
| 3 | # Lives at /var/www/vhosts/3dshawn.com/admin.3dshawn.com/.htaccess | |
| 4 | # ===================================================================== | |
| 5 | ||
| 6 | Options +ExecCGI -Indexes +FollowSymLinks | |
| 7 | AddHandler cgi-script .cgi | |
| 8 | DirectoryIndex index.cgi index.html | |
| 9 | ||
| 10 | <FilesMatch "\.(sql|pm|log|bak|prev|dat|db|sh|pl)$"> | |
| 11 | Require all denied | |
| 12 | </FilesMatch> | |
| 13 | ||
| 14 | <FilesMatch "\.(css|js|woff2?|ttf|eot|webp|png|jpg|jpeg|gif|svg|ico)$"> | |
| 15 | <IfModule mod_headers.c> | |
| 16 | Header set Cache-Control "public, max-age=31536000, immutable" | |
| 17 | </IfModule> | |
| 18 | </FilesMatch> |