[gnumeric-web] htaccess: turn off php for html files.



commit 6f09919380ea32cba7be905ef7f14944f001c1df
Author: Morten Welinder <terra gnome org>
Date:   Thu Feb 11 11:46:00 2016 -0500

    htaccess: turn off php for html files.
    
    Most won't work otherwise with new provider that doesn't understand
    the xml tag.  And we don't want php to begin with, btw.

 .htaccess |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/.htaccess b/.htaccess
index 7eb5c87..e9f7acb 100644
--- a/.htaccess
+++ b/.htaccess
@@ -1,7 +1,7 @@
 RewriteBase /
-Options +Includes
 AddType text/html .shtml
 AddType text/html .html
-AddOutputFilter INCLUDES .shtml
 AddDefaultCharset utf-8
 ErrorDocument 404 /404.html
+RemoveHandler cgi-script .pl .py .cgi
+RemoveHandler php-cgi .php .html


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]