Got a feeling this should be a simple one, but it's beating me so far. I'm trying to have Apache act as a reverse proxy for our TeamCity server.
Does anyone have a working configuration for Apache in this situation that they'd care to share?
I've got Apache 2.2.8 with mod_proxy_html 3.0 and I've moved my TeamCity installation from /ROOT to /teamcity to help the mod_proxy_html parsing.
My config looks something like this:
Default mod_proxy_html conf file
Allow from all
ProxyPass /builds/ http://teamcity.mydomain.com:8080/teamcity/
ProxyPassReverse /builds/ http://teamcity.mydomain.com:8080/teamcity/
ProxyHTMLURLMap /teamcity /builds
ProxyPassReverseCookiePath /teamcity/ /builds/
ProxyPassReverseCookieDomain teamcity.mydomain.com frontend.mydomain.com
I can see the TeamCity login page ok (style sheets are working too) but hitting the login button always brings me to http://frontend.mydomain.com/teamcity/overview.html It's also complaining about cookies not being enabled.
Any ideas, anyone? Any help gratefully received!