-
Notifications
You must be signed in to change notification settings - Fork 15
/
.htaccess
29 lines (24 loc) · 830 Bytes
/
.htaccess
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
DirectoryIndex index.php index.html
<FilesMatch "\.(.git\w+)$">
Order allow,deny
</FilesMatch>
Options -Indexes
Options +SymLinksIfOwnerMatch
<IfModule mod_rewrite.c>
# rewrite rules for CMS alias's
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_URI} !^admin(/.*)
RewriteCond %{REQUEST_URI} !^classes(/.*)
RewriteCond %{REQUEST_URI} !^editor(/.*)
RewriteCond %{REQUEST_URI} !^extensions(/.*)
RewriteCond %{REQUEST_URI} !^idcard(/.*)
RewriteCond %{REQUEST_URI} !^js(/.*)
RewriteCond %{REQUEST_URI} !^public(/.*)
RewriteCond %{REQUEST_URI} !^px(/.*)
RewriteCond %{REQUEST_URI} !^px_custom(/.*)
RewriteCond %{REQUEST_URI} !^shared(/.*)
RewriteCond %{REQUEST_URI} !^styles(/.*)
RewriteRule ^(.*)$ map.php?mod_rewrite=/&cmd=$1 [L,QSA]
</IfModule>