SkeletonEye/ProjectEngine/master/.htaccess - Htaccess File

SkeletonEye/ProjectEngine/master/.htaccess

# ProjectEngine - .htaccess
# @license MIT-License
# 
# Requires mod_rewrite.

# Compresses (some) files using deflate.
# Only applies if mod_deflate is enabled.
<ifModule mod_deflate.c>
  AddOutputFilterByType DEFLATE application/javascript application/x-httpd-php text/css text/html text/json text/plain text/xml
</ifModule>

# Rewriting!
RewriteEngine On

# Prevents some files from being rewritten
# which may be created by administrators.
RewriteCond %{REQUEST_URI}            !google[a-z0-9]*.html
RewriteCond %{REQUEST_URI}            !robots.txt
RewriteCond %{REQUEST_URI}            !sitemap.xml

# Prevents rewriting (again).
RewriteCond %{REQUEST_URI}            !index.php

# The themes-directory should be accessed directly.
RewriteCond %{REQUEST_FILENAME}       !themes

# Rewrites all the other files and passes
# the original path to a GET-parameter
# without losing existing GET-parameters.
RewriteRule ^(.*)$ source/index.php?path=$1  [QSA]

On Github License

Files

Download PDF of Htaccess file
DEFLATE, GET, REQUEST_FILENAME, REQUEST_URI

Comments

Apache