spacewalk/config/etc/httpd/conf.d/zz-spacewalk-www.conf | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
New commits:
commit 67a21463c6920db61b5697d4e3b3775648b5d9d5
Author: Jan Pazdziora <jpazdziora(a)redhat.com>
Date: Mon Oct 29 13:37:06 2012 +0100
All the Java requests end up at /rhn, no need to have separate .do and .jsp rewrites.
diff --git a/spacewalk/config/etc/httpd/conf.d/zz-spacewalk-www.conf
b/spacewalk/config/etc/httpd/conf.d/zz-spacewalk-www.conf
index bc57820..f213261 100644
--- a/spacewalk/config/etc/httpd/conf.d/zz-spacewalk-www.conf
+++ b/spacewalk/config/etc/httpd/conf.d/zz-spacewalk-www.conf
@@ -97,7 +97,6 @@ ProxyTimeout 210
ProxySet min=1
</Proxy>
RewriteRule ^/rhn(.*) ajp://localhost:8009/rhn$1 [P]
-RewriteRule ^(/.*\.(do|jsp)(\?.*)?)$ ajp://localhost:8009/$1 [P]
</IfModule>
RedirectMatch ^/renew/.*
http://rhn.redhat.com
commit 7d9fbde0f16aa988a2b4194d4e028ef2e9a9d96e
Author: Jan Pazdziora <jpazdziora(a)redhat.com>
Date: Mon Oct 29 13:34:05 2012 +0100
663248 - enable connection polling to tomcat.
diff --git a/spacewalk/config/etc/httpd/conf.d/zz-spacewalk-www.conf
b/spacewalk/config/etc/httpd/conf.d/zz-spacewalk-www.conf
index 47c2570..bc57820 100644
--- a/spacewalk/config/etc/httpd/conf.d/zz-spacewalk-www.conf
+++ b/spacewalk/config/etc/httpd/conf.d/zz-spacewalk-www.conf
@@ -93,6 +93,9 @@ RewriteRule ^/WEBRPC /rhn/rpc/api
ProxyTimeout 210
<IfModule proxy_ajp_module>
+<Proxy ajp://localhost:8009>
+ ProxySet min=1
+</Proxy>
RewriteRule ^/rhn(.*) ajp://localhost:8009/rhn$1 [P]
RewriteRule ^(/.*\.(do|jsp)(\?.*)?)$ ajp://localhost:8009/$1 [P]
</IfModule>