it9xpro/ci3/master/.htaccess - Htaccess File

it9xpro/ci3/master/.htaccess

Options +FollowSymLinks

<IfModule mod_rewrite.c>
  RewriteEngine On
  RewriteBase /ci3/

  <Files .*>
    Order Deny,Allow
    Deny From All
  </Files>

  # Allow asset folders through
  RewriteRule ^(fuel/modules/(.+)?/assets/(.+)) - [L]

  # Protect application and system files from being viewed
  RewriteRule ^(fuel/install/.+|fuel/crons/.+|fuel/data_backup/.+|fuel/codeigniter/.+|fuel/modules/.+|fuel/application/.+) - [F,L]

  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteCond %{REQUEST_FILENAME} !-d

  RewriteRule .* index.php/$0 [L]
  
  # Prevents access to dot files (.git, .htaccess) - security.
  RewriteCond %{SCRIPT_FILENAME} -d
  RewriteCond %{SCRIPT_FILENAME} -f
  RewriteRule "(^|/)." - [F]
  
</IfModule>
Options -Indexes

On Github License

Files

Download PDF of Htaccess file
REQUEST_FILENAME, SCRIPT_FILENAME

Comments

Apache