# License for all code of this FreePBX module can be found in the license file inside the module directory
# Copyright 2013 Schmooze Com Inc.
#
SetEnv HTACCESS on
# Disallow all file access first
#
<FilesMatch "..*$">
Deny from all
</FilesMatch>
# Now allow /admin, /admin/config.php and /admin/index.php as well as the various assets
#
<FilesMatch "(^$|index.php|config.php|ajax.php|.(gif|GIF|jpg|jpeg|png|css|js|swf|txt|ico|ttf|svg|eot|woff|wav|mp3|aac|ogg|webm|jar)$)">
Allow from all
</FilesMatch>
php_value max_input_vars 5000