Serve source code as text/plain.
authorW. Trevor King <wking@drexel.edu>
Tue, 9 Nov 2010 15:35:47 +0000 (10:35 -0500)
committerW. Trevor King <wking@drexel.edu>
Tue, 9 Nov 2010 15:35:47 +0000 (10:35 -0500)
.htaccess

index 4f2af758fd2afe235790c5630217bc67d0fb3339..a78b7c7522c3ba19907e2ac838d1926bc9f7ac24 100644 (file)
--- a/.htaccess
+++ b/.htaccess
@@ -1,5 +1,7 @@
 Options +Includes
 
+AddType text/plain .py .c .cpp .h
+
 # See Calvin Smith's "Serving XHTML Correctly Using Apache"
 #   http://protempore.net/~calvins/howto/xhtml-apache/
 # for details on the following code, which works around