forked from CSAILVision/LabelMeAnnotationTool
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.htaccess
32 lines (29 loc) · 868 Bytes
/
.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
Options +Includes +ExecCGI
AddHandler cgi-script .cgi .sh .pl
AddType text/html .shtml
AddHandler server-parsed .shtml
XBitHack on
BrowserMatchNoCase macintosh Mac
BrowserMatchNoCase MSIE InternetExplorer
<Files "tool.html">
AddType application/xhtml+xml html
AddHandler server-parsed .html
RewriteEngine On
RewriteBase /
RewriteCond %{HTTP_ACCEPT} !application/xhtml\+xml
RewriteCond %{HTTP_ACCEPT} (text/html|\*/\*)
RewriteCond %{REQUEST_FILENAME} .*\.html
RewriteRule ^.*$ - "[T=text/html,L]"
</Files>
<Files "unit_tests.html">
AddType application/xhtml+xml html
AddHandler server-parsed .html
RewriteEngine On
RewriteBase /
RewriteCond %{HTTP_ACCEPT} !application/xhtml\+xml
RewriteCond %{HTTP_ACCEPT} (text/html|\*/\*)
RewriteCond %{REQUEST_FILENAME} .*\.html
RewriteRule ^.*$ - "[T=text/html,L]"
</Files>
RewriteEngine on
RewriteRule ^index\.html$ index.php