-
Notifications
You must be signed in to change notification settings - Fork 17
/
_htaccess.txt
38 lines (33 loc) · 1.06 KB
/
_htaccess.txt
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
# This should be kept in sync with mongoose.conf and runserver.py
#Action php54-cgi /php54.cgi
#<FilesMatch \.php$>
# SetHandler php54-cgi
#</FilesMatch>
<FilesMatch "\.(ttf|otf|eot|woff)$">
<IfModule mod_headers.c>
Header set Access-Control-Allow-Origin "*"
</IfModule>
</FilesMatch>
Options +FollowSymLinks
RewriteEngine On
RewriteBase /
RewriteRule ^export_3.3$ export_3.3.html
RewriteRule ^manifest_hack$ manifest_hack.html
RewriteRule ^test$ test.html
RewriteRule ^test_case$ test_case.html
RewriteRule ^docs$ docs/
RewriteCond %{REQUEST_URI} !^/bbgm.appcache
RewriteCond %{REQUEST_URI} !^/robots.txt
RewriteCond %{REQUEST_URI} !^/css
RewriteCond %{REQUEST_URI} !^/data
RewriteCond %{REQUEST_URI} !^/docs
RewriteCond %{REQUEST_URI} !^/export_3.3
RewriteCond %{REQUEST_URI} !^/fonts
RewriteCond %{REQUEST_URI} !^/gen
RewriteCond %{REQUEST_URI} !^/ico
RewriteCond %{REQUEST_URI} !^/img
RewriteCond %{REQUEST_URI} !^/js
RewriteCond %{REQUEST_URI} !^/manifest_hack
RewriteCond %{REQUEST_URI} !^/templates
RewriteCond %{REQUEST_URI} !^/test
RewriteRule ^.*$ index.html