Htaccess File


php_flag display_errors on

#DirectoryIndex index.php

RewriteEngine On
XSendFile on

# RewriteBase /~demomatc/ # <- option required on server with temp URL

# Help us refresh the cached stylesheet when necessary by incrementing the variable in the URL.
RewriteRule ^resources/css/style.([0-9]+).css$ resources/css/style.css

RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ index.php [QSA,L]

# Disable listing of directory contents
IndexIgnore *

# Protect the file
  Order Deny,Allow
  Deny from all
Exit mobile version