18189 - instructions for using Apache as a proxy for the depot server need update
authorErik Trauschke <Erik.Trauschke@oracle.com>
Tue, 19 Apr 2011 10:22:24 -0700
changeset 2300 85f6dc1ef6f9
parent 2299 04f16b1bc15c
child 2301 d4b6490d2c24
18189 - instructions for using Apache as a proxy for the depot server need update
src/util/apache2/proxy-example.conf
--- a/src/util/apache2/proxy-example.conf	Tue Apr 19 10:08:46 2011 -0700
+++ b/src/util/apache2/proxy-example.conf	Tue Apr 19 10:22:24 2011 -0700
@@ -18,9 +18,9 @@
 #
 # CDDL HEADER END
 #
+
 #
-# Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2009, 2011, Oracle and/or its affiliates. All rights reserved.
 #
 
 #
@@ -65,7 +65,14 @@
 # This can dramatically reduce the over-the-wire size of metadata such
 # as catalogs and manifests, which often compress 90%.
 #
-SetOutputFilter DEFLATE
+AddOutputFilterByType DEFLATE text/html application/javascript text/css text/plain
+
+#
+# Packages may contain URL encoded forward slashes. To make sure these are
+# not interpreted as directory delimiters Apache can be instructed to just
+# leave them as they are.
+#
+AllowEncodedSlashes On
 
 #
 # Crank up MaxKeepAliveRequests so that clients can make a large number