.htaccess 602 B

123456789101112131415161718
  1. RewriteEngine on
  2. RewriteRule "(^|/)\.(?!well-known\/)" 404 [L]
  3. RewriteCond %{REQUEST_FILENAME} !-f
  4. RewriteCond %{REQUEST_FILENAME} !-d
  5. RewriteCond %{REQUEST_URI} !=/favicon.ico
  6. RewriteRule ^(.*)$ index.php [L,QSA]
  7. RewriteRule "^.htaccess" 404 [L]
  8. RewriteRule "^config.rb" 404 [L]
  9. RewriteRule "^.git(/|ignore)?" 404 [L]
  10. RewriteRule "^package(-lock)?.json" 404 [L]
  11. RewriteRule "^postcss.config.js" 404 [L]
  12. RewriteRule "^tailwind.config.js" 404 [L]
  13. RewriteRule "^oldcss" 404 [L]
  14. RewriteRule "^node_modules" 404 [L]
  15. RewriteRule "^libs" 404 [L]
  16. RewriteRule "^pcss" 404 [L]
  17. RewriteRule "^.DS_Store" 404 [L]