-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathhtaccess
65 lines (65 loc) · 1.64 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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
# .htaccess file for use by Apache with mod_expires. Other web servers /may/
# also support this. Put it in the graphs directory, and set the options in
# your httpd.conf to have AllowOverride set.
# We set the expiry time to be 1 second less than the lifespan of the graph
#
# Filenames will be <router>-<interface>-<time period>-<graph style>.<format>
# where <format> is gif or png
# <graph style> is n, l, t, x2, etc etc
# <time period> is 6,d,w,m,y with s for summary
#
<Files *-6-*.*>
ExpiresActive On
ExpiresDefault M50
# Expire 6hourly after 1 minute
</Files>
<Files *-d-*.*>
ExpiresActive On
ExpiresDefault M290
# Expire daily ones 5 mins after they are created
</Files>
<Files *-w-*.*>
ExpiresActive On
ExpiresDefault M1799
# Expire weekly ones 30 mins after they are created
</Files>
<Files *-m-*.*>
ExpiresActive On
ExpiresDefault M3590
# Expire monthly 1 hour after they are created
</Files>
<Files *-y-*.*>
ExpiresActive On
ExpiresDefault M86390
# Expire yearly 1 day after they are created
</Files>
<Files *-6s-*.*>
ExpiresActive On
ExpiresDefault M50
# Expire 6hourly after 1 minute
</Files>
<Files *-ds-*.*>
ExpiresActive On
ExpiresDefault M290
# Expire daily ones 5 mins after they are created
</Files>
<Files *-ws-*.*>
ExpiresActive On
ExpiresDefault M1790
# Expire weekly ones 30 mins after they are created
</Files>
<Files *-ms-*.*>
ExpiresActive On
ExpiresDefault M3590
# Expire monthly 1 hour after they are created
</Files>
<Files *-ys-*.*>
ExpiresActive On
ExpiresDefault M86390
# Expire yearly 1 day after they are created
</Files>
# For the benefit of the verify page.
<Files redsquare.png>
ExpiresActive On
ExpiresDefault M1
</Files>