-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.htaccess
executable file
·40 lines (37 loc) · 1.24 KB
/
.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
37
38
39
40
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteCond $1 !^(index\.php|css|img|js)
RewriteRule ^(.*)$ /jira_attachments/index.php/$1 [L]
</IfModule>
#
# Force Browser Cache
#
<ifmodule mod_expires.c>
ExpiresActive On
ExpiresDefault A0
ExpiresByType application/javascript "access plus 1 day"
ExpiresByType application/x-javascript "access plus 1 day"
ExpiresByType text/javascript "access plus 1 day"
ExpiresByType text/html "access plus 1 day"
ExpiresByType text/xml "access plus 1 day"
ExpiresByType text/css "access plus 1 day"
ExpiresByType text/plain "access plus 1 day"
ExpiresByType image/gif "access plus 1 year"
ExpiresByType image/jpg "access plus 1 year"
ExpiresByType image/jpeg "access plus 1 year"
ExpiresByType image/png "access plus 1 year"
ExpiresByType image/bmp "access plus 1 year"
ExpiresByType application/x-shockwave-flash "access plus 1 day"
<filesMatch "\.(ico|gif|jpg|jpeg|png|flv|pdf)$">
Header set Cache-Control: public
</filesMatch>
<filesMatch "\.(js|css|swf)$">
Header set Cache-Control: public
</filesMatch>
<filesMatch "\.(html|htm|txt)$">
Header set Cache-Control: public
</filesMatch>
</ifmodule>
php_value xdebug.profiler_output_dir /tmp
php_value xdebug.profiler_output_name timestamp
php_value xdebug.profiler_enable 1