You can fix this problem partially with help of <
http:/
/apache.webthing.com/mod_proxy_html/> that allows you
to rewrite the
actual HTML that is sent back to the user and replace all
absolute URLs that
point to "localhost:8080" with apache ones.
However I didn't figure out how
to reliably do the same with JMX mbean that listens on
different port (8000)
altogether. Here is what I got in my apache config:
<IfModule mod_proxy.c>
ProxyRequests Off
ProxyPass /cruisecontrol http://localhost:8080
ProxyHTMLURLMap http://localhost:8080
https://www.in
tersog.com/cruisecontrol
<Location /cruisecontrol>
ProxyPassReverse http://localhost:8080
SetOutputFilter proxy-html
ProxyHTMLURLMap / /cruisecontrol/
ProxyHTMLURLMap /cruisecontrol/ /cruisecontrol/
Auth_IMAP_Enabled On
AuthType Basic
AuthName "Secured Area, Authorization
Required"
require valid-user
</Location>
</IfModule>
Let me know if this helps.
Igor
-----Original Message-----
From: chicago-java@yahoogroups.com
[mailto:chicago-java@yahoogroups.com] On
Behalf Of Jeff Gutierrez
Sent: Friday, July 21, 2006 12:26 PM
To: chicago-java@yahoogroups.com
Subject: [chicago-java] CruiseControl and Apache Proxy
Hey guys,
I'm trying to get CruiseControl shared with outside
developers. I figured that I could use Apache's
mod_proxy so the CruiseControl web app can piggy back
on the SSL Cert-based authentication we already have
for Trac and SVN. To my surpise, the URIs on the
CruiseControl pages are all absolute!
I did not find anything in the configuration file or
on the web that'll help me solve this issue.
Has anyone done this before? What did you end up
doing?
I'd appreciate any information.
Thanks,
jeff --
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection
around
http://mail.yahoo.com
Yahoo! Groups Links
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://gr
oups.yahoo.com/group/chicago-java/
<*> To unsubscribe from this group, send an email to:
chicago-java-unsubscribe@yahoogroups.com
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.c
om/info/terms/
|