##
## Zula Framework .htaccess file
##
### Rewrite Rules, used with 'SEF' routers
<IfModule mod_rewrite.c>
RewriteEngine on
# The following RewriteBase needs changing if Zula Framework
# is running within a subdirectory (can also be the cause of
# 500/Internal Server Errors).
#
# This file should have its RewriteBase suffixed with /setup
#
# e.g. running in a subdir of /zula-framework use the following:
# RewriteBase /zula-framework/setup
#
#RewriteBase /setup
RewriteCond %{SCRIPT_FILENAME} !-f
RewriteCond %{SCRIPT_FILENAME} !-d [OR]
RewriteCond %{REQUEST_URI} !/install/security$
RewriteCond %{REQUEST_URI} !/upgrade/version$
RewriteRule ^(.*)$ index.php?url=$1 [QSA]
</IfModule>