([^<]*)(?:\.\.\.)?\s*\s*\
+(
\s*\1)@$2@ig
-s|||sigU
+#################################################################################
+#
+# x-httpd-php-to-html: Changes the Content-Type header from
+# x-httpd-php to html. "Content-Type: x-httpd-php"
+# is set by clueless PHP users and causes many
+# browsers do open a download menu instead of
+# rendering the page.
+#
+#################################################################################
+SERVER-HEADER-FILTER: x-httpd-php-to-html Changes the Content-Type header from x-httpd-php to html.
+s@^(Content-Type:)\s*application/x-httpd-php@$1 text/html@i
#################################################################################
#
-# crude-parental: Crude parental filtering? (Use along with a suitable blocklist).
-# Shows how to deny access to whole page based on a keyword.
+# html-to-xml: Changes the Content-Type header from html to xml.
#
+#################################################################################
+SERVER-HEADER-FILTER: html-to-xml Changes the Content-Type header from html to xml.
+
+s@^(Content-Type:)\s*text/html(;.*)?$@$1 application/xhtml+xml$2@i
+
#################################################################################
#
-# (Note: Middlesex, Sussex and Essex are counties in the UK, not rude words)
-# (Note #2: Is 'sex' a rude word?!)
+# xml-to-html: Changes the Content-Type header from xml to html.
#
#################################################################################
-FILTER: crude-parental Crude parental filtering (demo only)
+SERVER-HEADER-FILTER: xml-to-html Changes the Content-Type header from xml to html.
-s%^.*(?BlockedBlocked due to possible adult content. Please see this site.