-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.htaccess
More file actions
29 lines (23 loc) · 955 Bytes
/
.htaccess
File metadata and controls
29 lines (23 loc) · 955 Bytes
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
Options +FollowSymLinks -MultiViews -Indexes
DirectoryIndex index.html
RewriteEngine On
RewriteBase /
Redirect /inscripcion https://docs.google.com/forms/d/e/1FAIpQLSeKE2SOQSEeA5CbXs7ebmR0MASN_Im4_H7DUajYQ0BrarZlDg/viewform
RewriteRule "^politicaprivacidad/?$" "/politicaprivacidad.html"
AddOutputFilterByType DEFLATE text/plain
AddOutputFilterByType DEFLATE text/html
AddOutputFilterByType DEFLATE text/xml
AddOutputFilterByType DEFLATE text/css
AddOutputFilterByType DEFLATE application/xml
AddOutputFilterByType DEFLATE application/xhtml+xml
AddOutputFilterByType DEFLATE application/rss+xml
AddOutputFilterByType DEFLATE application/javascript
AddOutputFilterByType DEFLATE application/x-javascript
# One year for image files
<filesMatch ".(jpg|jpeg|png|gif|ico)$">
Header set Cache-Control "max-age=86400, public"
</filesMatch>
# One month for css and js
<filesMatch ".(css|js)$">
Header set Cache-Control "max-age=86400, public"
</filesMatch>