Htaccess File

kajusK/simple-cms/master/.htaccess

REQUEST_FILENAME
Options -Indexes

<Files ~ "^.*.log">
  Order allow,deny
  Deny from all
  Satisfy All
</Files>

RewriteEngine On
# RewriteBase /

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule !.(css|js|icon|zip|rar|png|jpg|gif|pdf)$ index.php [L]

AddType application/x-httpd-php .php .phtml
Exit mobile version