-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.htaccess
36 lines (28 loc) · 966 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
30
31
32
33
34
35
36
RewriteEngine On
RewriteCond %{REQUEST_URI} !/images/.*
RewriteCond %{REQUEST_URI} !/fonts/.*
RewriteCond %{REQUEST_URI} !/export.php
RewriteCond %{REQUEST_URI} !/style.css
RewriteRule ^(((?!index\.php).)*)$ index\.php?q=$1 [L,NE,QSA]
<IfModule mod_expires.c>
ExpiresActive On
ExpiresDefault A18000
ExpiresByType image/gif A2592000
ExpiresByType image/jpg "access plus 1 month"
ExpiresByType image/jpeg "access plus 1 month"
ExpiresByType image/png A2592000
ExpiresByType text/css A259200
ExpiresByType text/javascript A259200
ExpiresByType text/html A15
ExpiresByType application/x-javascript A2600000
</IfModule>
<ifModule mod_deflate.c>
<filesMatch "\.(css|js|x?html?|php)$">
SetOutputFilter DEFLATE
</filesMatch>
</ifModule>
# php_value session.save_path "/home/free/own.cz/e/epica-test/root/www/tmp"
# php_flag file_uploads On
# php_value memory_limit 10M
# php_value post_max_size 10M
# php_value upload_max_filesize 10M