Htaccess File

axelbad/Api_Rest/master/.htaccess

ENV, REQUEST_FILENAME
# Multiple Environment config, set this to development, staging or production
# SetEnv FUEL_ENV production

<IfModule mod_rewrite.c>
    RewriteEngine on

    # Send request to the subfolder, if it's not a real file, folder or it's a root request
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d [OR]
    RewriteCond $1 ^$

    RewriteRule ^(.*)$ /index.php?/$1 [L]
</IfModule>
Exit mobile version