mconway/NanobyteCMS/master/.htaccess - Htaccess File

mconway/NanobyteCMS/master/.htaccess

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteRule ^(.*.css) index.php?file=$1&type=css
RewriteRule ^(.*.js) index.php?file=$1&type=js
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?page=$1
</IfModule>

ErrorDocument 400 /index.php
ErrorDocument 401 /index.php
ErrorDocument 403 /index.php
ErrorDocument 404 /index.php
ErrorDocument 500 /index.php

On Github License

Files

Download PDF of Htaccess file
REQUEST_FILENAME

Comments

Apache