Do not force application type of XHTML files to XUL (wreaks havoc with javascript)
authordbs <dbs@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Thu, 24 Jan 2008 03:18:56 +0000 (03:18 +0000)
committerdbs <dbs@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Thu, 24 Jan 2008 03:18:56 +0000 (03:18 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@8488 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/examples/apache/eg_vhost.conf

index 6128cfa..ff6b22f 100644 (file)
@@ -101,16 +101,26 @@ OSRFGatewayConfig /openils/conf/opensrf_core.xml
 # ----------------------------------------------------------------------------------
 # Run server-side XUL and XHTML through xmlent to load the correct XML entities
 # ----------------------------------------------------------------------------------
-<LocationMatch /xul/.*(\.xul|\.xhtml)$>
+<LocationMatch /xul/.*\.xhtml$>
+    Options +Includes
+    AddOutputFilter INCLUDES;XMLENT .xhtml
+    allow from all
+
+    # We only support one locale (en-US) for the time being
+    SetEnv locale en-US
+</LocationMatch>
+
+<LocationMatch /xul/.*\.xul$>
     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
 </LocationMatch>
 
+
 # ----------------------------------------------------------------------------------
 # Supercat feeds
 # ----------------------------------------------------------------------------------