forked from valentinbora/joobsbox-php
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.htaccess
28 lines (25 loc) · 983 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
Options -MultiViews
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{REQUEST_URI} !^.*/index\.php$
RewriteCond %{REQUEST_URI} !^.*/plugins/.*\.(js|css|png|gif|jpg|mp3|wav)$
RewriteCond %{REQUEST_URI} !^.*/Joobsbox/Plugin/.*\.(js|css|png|gif|jpg|mp3|wav)$
RewriteCond %{REQUEST_URI} !^.*/docs/.*$
RewriteCond %{REQUEST_URI} !^.*/public/(js|css)/.*$
RewriteCond %{REQUEST_URI} !^.*/favicon\.ico$
RewriteCond %{REQUEST_URI} !^.*/themes/.*\.(js|css|png|gif|jpg|mp3|wav)$
RewriteCond %{REQUEST_URI} !^.*/tests/.*$
RewriteRule .* index.php [NC,L]
</IfModule>
<IfModule mod_deflate.c>
SetOutputFilter DEFLATE
</IfModule>
<IfModule mod_expires.c>
ExpiresActive On
ExpiresByType text/html "modification plus 1 hour"
ExpiresByType image/jpeg "now plus 1 weeks"
ExpiresByType image/gif "now plus 1 weeks"
ExpiresByType image/png "now plus 1 weeks"
ExpiresByType text/css "now plus 1 weeks"
ExpiresByType application/javascript "now plus 1 weeks"
</IfModule>