[gnumeric-web] htaccess: turn off php for html files.
- From: Morten Welinder <mortenw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnumeric-web] htaccess: turn off php for html files.
- Date: Thu, 11 Feb 2016 16:47:16 +0000 (UTC)
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]