JRogaishio/ferretCMS/master/.htaccess
Options -Indexes
# BEGIN FerretCMS
<IfModule mod_rewrite.c>
Options +FollowSymLinks -MultiViews
RewriteEngine On
RewriteBase /
#400 REDIRECT
ErrorDocument 400 http://ferretcms.localhost/index.php?p=SYS_400
#401 REDIRECT
ErrorDocument 401 http://ferretcms.localhost/index.php?p=SYS_401
#403 REDIRECT
ErrorDocument 403 http://ferretcms.localhost/index.php?p=SYS_403
#404 REDIRECT
ErrorDocument 404 http://ferretcms.localhost/index.php?p=SYS_404
#500REDIRECT
ErrorDocument 500 http://ferretcms.localhost/index.php?p=SYS_500
# Removes index.php from ExpressionEngine URLs
RewriteCond $1 !.(gif|jpe?g|png)$ [NC]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule page/(.*)/$ index.php?p=$1
RewriteRule page/(.*)/article/(.*)$ index.php?p=$1&c=$2 [NC,L]
</IfModule>
# END FerretCMS
On Github License
Files