jcfr/Midas/master/.htaccess - Htaccess File

jcfr/Midas/master/.htaccess

# Midas Server. Copyright Kitware SAS. Licensed under the Apache License 2.0.

Options -Indexes

<IfModule rewrite_module>
    RewriteEngine On
    RewriteCond %{REQUEST_FILENAME} ^(.*/)?(core|(modules|privateModules)/.*)/public/.*$ [OR]
    RewriteCond %{REQUEST_FILENAME} ^(.*/)?library/SwaggerUI/.*$ [OR]
    RewriteCond %{REQUEST_FILENAME} ^(.*/)?favicon.ico$
    RewriteCond %{REQUEST_FILENAME} -s [OR]
    RewriteCond %{REQUEST_FILENAME} -l [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule ^.*$ - [NC,L]

    RewriteRule ^.*$ index.php [NC,L]
</IfModule>

On Github License

Files

Download PDF of Htaccess file
REQUEST_FILENAME

Comments

Apache