From ed5235ec7c9280cd324a9b118cff6038dfcdab83 Mon Sep 17 00:00:00 2001 From: dbs Date: Thu, 24 Jan 2008 03:18:56 +0000 Subject: [PATCH] Do not force application type of XHTML files to XUL (wreaks havoc with javascript) git-svn-id: svn://svn.open-ils.org/ILS/trunk@8488 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/examples/apache/eg_vhost.conf | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/Open-ILS/examples/apache/eg_vhost.conf b/Open-ILS/examples/apache/eg_vhost.conf index 6128cfa477..ff6b22f0bb 100644 --- a/Open-ILS/examples/apache/eg_vhost.conf +++ b/Open-ILS/examples/apache/eg_vhost.conf @@ -101,16 +101,26 @@ OSRFGatewayConfig /openils/conf/opensrf_core.xml # ---------------------------------------------------------------------------------- # Run server-side XUL and XHTML through xmlent to load the correct XML entities # ---------------------------------------------------------------------------------- - + + Options +Includes + AddOutputFilter INCLUDES;XMLENT .xhtml + allow from all + + # We only support one locale (en-US) for the time being + SetEnv locale en-US + + + Options +Includes XMLEntContentType "application/vnd.mozilla.xul+xml" - AddOutputFilter INCLUDES;XMLENT .xhtml .xul + AddOutputFilter INCLUDES;XMLENT .xul allow from all # We only support one locale (en-US) for the time being SetEnv locale en-US + # ---------------------------------------------------------------------------------- # Supercat feeds # ---------------------------------------------------------------------------------- -- 2.11.0