Htaccess File

adngdb/fightly-website/master/.htaccess

REQUEST_FILENAME
<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>
Exit mobile version