#Deny access to the configuration files from the browser
<Files *.ini>
Order allow,deny
Deny from all
</Files>
#Deny access to the log files from the browser
#<Files *.log>
# Order allow,deny
# Deny from all
#</Files>
#RESTful API
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule api/v1/(.*)$ ../demo/DemoApi.php?request=$1 [QSA,NC,L]
</IfModule>