CONFIGURATION ------------- We have a bit complex configuration.
App Server: Tomcat 4.1.24 Web server(internal): Apache 2.0.40 + mod_jk 1.2.3 + Linux RH9 A reverse proxy(external): Apache 2.0.40 + Linux RH9
Our organization is behind a firewall, so we need an external web server to respond every external request. To acomplish this, we have a reverse proxy using apache that proxies requests to our main web server in the internal network.
The internal main server is configured to forward app requests to tomcat 4.1.24, via mod_jk (1.2.3).
If we use old ajp13 connector (org.apache.ajp.tomcat4.Ajp13Connector), everything works smoothly.
PROBLEM ------- The problem begins if I configure tomcat to use new coyote connector.
There is no problem connecting to internal web server. It serves the pages correctly. But when connecting to external server, that proxies requests, they are not treated correctly. The browser shows http header info (without interpreting it) followed by the html code of the pages. ??
The headers appear to be mangled by http reverse proxy.
Here is my reverse-proxy configuration (just in case...) ---- ProxyRequests on RewriteEngine on RewriteRule ^(.*)$ http://my-internal-host.mydomain$1 [NC,P] ProxyPassReverse / http://myhost.mydomain/ ----
Thanks in advance for any answer, advice or idea.
Greetings from Spain. -- _________________________________________________ Eduardo Bergasa Balda UNIVERSIDAD DE LA RIOJA Servicio Informático Sistemas y Comunicaciones
C/Avenida de La Paz, 93 Tf:+34-941-299560 26004 Logroño - SPAIN Fx:+34-941-299180
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]