.htaccess для Bolt CMS
О Bolt.CMS
«Bolt CMS - система управления контентом, которая стремится быть максимально простой и понятной.».
— boltcm.ru
Исходный код
Содержимое стандартного файла .htaccess для bolt.CMS: Free.
# Set the default handler. DirectoryIndex index.php index.html index.htm # Prevent directory listing Options -Indexes <FilesMatch "\.(yml|db|twig)$"> <IfModule mod_authz_core.c> Require all denied </IfModule> <IfModule !mod_authz_core.c> Order deny,allow Deny from all </IfModule> </FilesMatch> <IfModule mod_rewrite.c> RewriteEngine on RewriteRule cache/ - [F] # Some servers require the RewriteBase to be set. If so, set to the correct folder. # RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_URI} !=/favicon.ico RewriteRule ^ ./index.php [L] </IfModule>