#AddType x-mapp-php6 .php#AddHandler x-mapp-php6 .php# Turn on URL rewritingRewriteEngineOn# Installation directoryRewriteBase/# Protect hidden files from being viewed<Files.*>OrderDeny,AllowDenyFromAll</Files># Protect application and system files from being viewedRewriteRule^(?:application|modules|system)b.* index.php/$0 [L]# Allow any files or directories that exist to be displayed directlyRewriteCond%{REQUEST_FILENAME}!-f
RewriteCond%{REQUEST_FILENAME}!-d
# Rewrite all other URLs to index.php/URLRewriteRule.* index.php/$0 [PT]