plot_image.py: use modern print() syntax everywhere
[parallel_computing.git] / .htaccess
1 Options +Includes
2
3 AddType text/plain .py .c .cpp .h
4
5 # See Calvin Smith's "Serving XHTML Correctly Using Apache"
6 #   http://protempore.net/~calvins/howto/xhtml-apache/
7 # for details on the following code, which works around
8 # application/xhtml+xml issues with MSIE.
9 RewriteEngine On
10 AddType application/xhtml+xml;q=0.8 .shtml
11 #RewriteBase /
12 RewriteCond %{REQUEST_URI} \.shtml$
13 RewriteCond %{HTTP_USER_AGENT} MSIE [OR]
14 RewriteCond %{HTTP_ACCEPT} application/xhtml\+xml\s*;\s*q=0\.?0*(\s|,|$)
15 RewriteRule .* - [T=text/html]
16
17 # If MSIE was intelligent, we could replace the above with a simple
18 #AddType application/xhtml+xml .shtml