IfModule mod_expires FilesMatch jpg gif png css js ExpiresActive on Ex

 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
<IfModule mod_expires.c>
<FilesMatch "\.(jpg|gif|png|css|js)$">
ExpiresActive on
ExpiresDefault "access plus 3 days"
</FilesMatch>
</IfModule>
Alias "/media" "/var/www/undefined.org.ua/byteflow/media"
<Location "/media">
SetHandler None
</Location>
<Directory "/usr/lib/python2.5/site-packages/django/contrib/admin/media">
Order allow,deny
Allow from all
</Directory>
Alias "/admin-media" "/usr/lib/python2.5/site-packages/django/contrib/admin/media"
<Location "/admin-media">
SetHandler None
</Location>
Alias "/static" "/var/www/undefined.org.ua/byteflow/static"
<Location "/static">
SetHandler None
</Location>