Blog-style website for karathan using the self-made Stellar Theme powered by HTML5Up http://blog.karathan.at

12345678910111213141516171819202122
  1. <IfModule mod_rewrite.c>
  2. RewriteEngine On
  3. # May be required to access sub directories
  4. #RewriteBase /
  5. # Deny access to internal dirs and files by passing the URL to Pico
  6. RewriteRule ^(config|content|vendor|CHANGELOG\.md|composer\.(json|lock|phar))(/|$) index.php [L]
  7. RewriteRule (^\.|/\.)(?!well-known(/|$)) index.php [L]
  8. # Enable URL rewriting
  9. RewriteCond %{REQUEST_FILENAME} !-f
  10. RewriteCond %{REQUEST_FILENAME} !-d
  11. RewriteRule ^ index.php [L]
  12. <IfModule mod_env.c>
  13. # Let Pico know about available URL rewriting
  14. SetEnv PICO_URL_REWRITING 1
  15. </IfModule>
  16. </IfModule>
  17. # Prevent file browsing
  18. Options -Indexes -MultiViews