logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: Reverse Proxy - getting a blank page
Author
Charly_Yorugua



Joined: 21 Dec 2007
Posts: 2

PostPosted: Fri 21 Dec '07 6:28    Post subject: Reverse Proxy - getting a blank page Reply with quote

I have follow the recommendations on posted on this web site and downloaded the mod offer here too. I have been able to setup Apache to perform reverse Proxy for an internal server and it looks like the host names are getting translated properlly but I only getting a blank page in my browser. I'm pasting the lines I have enter on apache configuration including the mod I have loaded. Everything else in teh service is as default.



LoadModule deflate_module modules/mod_deflate.so
LoadModule headers_module modules/mod_headers.so
LoadModule proxy_module modules/mod_proxy.so
LoadModule proxy_http_module modules/mod_proxy_http.so

LoadFile "C:\Program Files\Apache Software Foundation\Apache2.2\zlib\bin\zlib1.dll"
LoadFile "C:\Program Files\Apache Software Foundation\Apache2.2\iconv\bin\iconv.dll"
LoadModule proxy_html_module modules/mod_proxy_html/mod_proxy_html.so

<IfModule mod_proxy.c>
ProxyRequests Off
ProxyHTMLLogVerbose On
ProxyHTMLExtended Off
ProxyPass /app1 http://host.mydomain.com:36001/app1
ProxyHTMLURLMap http://host.mydomain.com:36001/app1 /app1
<Location /app1>
ProxyPassReverse http://phoenix.matsci.com:36001/app1
SetOutputFilter proxy-html
ProxyHTMLURLMap / /app1
ProxyHTMLURLMap /app1/ /app1
RequestHeader unset Accept-Encoding
</Location>


</IfModule>

ALso, here is what is diplay on the address bar.

I enter ...

http://proxy.mydomain.com/app1 and as a result I get


http://proxy.mydomain.com/app1/app1Servlet?request=loginPrompt&destUrl=app1Servlet%3frequest%3dmainBrowser
as you can see aweb page requesting a log in should be display. instead a blank page is display.

Also, I don't see any errors on the Error log, I presume that I'm not activating debug mode properlly.

Any help will be greatlly appreciated!!!

Thanks!
Back to top
Charly_Yorugua



Joined: 21 Dec 2007
Posts: 2

PostPosted: Fri 21 Dec '07 18:03    Post subject: Looking a little deeper Reply with quote

I'm still looking in to this issue. I have another pice on this puzzle I would like to introduce, maybe this can show some light in to this.

This next line is the first line on the source of the website I'm trying to translate with the proxy server.

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><!-- com.pjx.thin.handler.view.LoginPromptRequestHandler -->

as you can see it indicates that is a XHTML documment.

Does this meand that I need to configure reverse proxy differently? Or maybe I'm missing a Mod that would allow Apache to do proper reverse of this site?


Thanks for all your help!!
Back to top


Reply to topic   Topic: Reverse Proxy - getting a blank page View previous topic :: View next topic
Post new topic   Forum Index -> Apache