flx5/InMaFSS/master/.htaccess - Htaccess File

flx5/InMaFSS/master/.htaccess

Order Deny,Allow
Allow from all

AcceptPathInfo Off

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule api/v1/(.*)$ api/v1/index.php?RESTurl=$1 [QSA,NC,L]

# forbid access to subdirectories
RewriteRule ^plugins(|/(.*))$ - [R=404]
RewriteRule ^inc(|/(.*))$ - [R=404]
RewriteRule ^tmp(|/(.*))$ - [R=404]
</IfModule>

On Github License

Files

Download PDF of Htaccess file
REQUEST_FILENAME

Comments

Apache