aboutsummaryrefslogblamecommitdiffhomepage
path: root/.htaccess
blob: 19dd72a805e7b3bd170c87aabb25ad4764ca179a (plain) (tree)
1
2
3
4
5
6
7
8
9


                           
                




                                                     


                                   
# Disable directory listing
Options -Indexes

RewriteEngine On

# Prevent accessing subdirectories not managed by SCM
RewriteRule ^(.git|doxygen|vendor) - [F]

# REST API
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^ index.php [QSA,L]