Htaccess File

aneek/restman/1.x/.htaccess

ENV, REQUEST_FILENAME
RewriteEngine On

# Some hosts may require you to use the `RewriteBase` directive.
# If you need to use the `RewriteBase` directive, it should be the
# absolute physical path to the directory that contains this htaccess file.
#
<IfModule mod_headers.c>
    Header set Access-Control-Allow-Origin "*"
</IfModule>

RewriteBase /

# Define the application environemnt so that the application can boot
# proper settings.yml
#
# Possible values:
#  - development
#  - test
#  - stage
#  - production

SetEnv APPLICATION_ENV development

RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^ index.php [QSA,L]
Exit mobile version