Htaccess File

leonleslie/TastyIgniter/master/admin/.htaccess

REQUEST_FILENAME
# 1.To use URL Alias you need to be running apache with mod_rewrite enabled.
Options +FollowSymlinks

# Prevent Directoy listing
Options -Indexes

<IfModule mod_rewrite.c>
  # Turn on URL rewriting
  RewriteEngine On

  # !IMPORTANT! Set your RewriteBase here and don't forget trailing and leading slashes.
  # If your page resides at http://www.example.com/mypage/admin then use
  # RewriteBase /mypage/admin

  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteCond %{REQUEST_FILENAME} !-d
  RewriteRule ^(.*)$ index.php?/$1 [L]
</IfModule>
Exit mobile version