adngdb/fightly-website/master/.htaccess - Htaccess File

adngdb/fightly-website/master/.htaccess

<IfModule mod_rewrite.c>
  RewriteEngine on
  
  # Allow access to assets folder from plugins folders
  RewriteRule ^app/plugins/(.+)/assets - [L]
  
  # forbid access to files and folders under app
  RewriteRule ^app/.*$ - [L,F]
  
  # rewrite to index.php
  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteCond %{REQUEST_FILENAME} !-d
  RewriteRule ^(.*)$ index.php?action=$1 [L,QSA]
  
</IfModule>

On Github License

Files

Download PDF of Htaccess file
REQUEST_FILENAME

Comments

Apache