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: Apache Reverse Proxy: Problem on Page Reload
Author
stephan0h



Joined: 07 Aug 2012
Posts: 1

PostPosted: Tue 07 Aug '12 16:39    Post subject: Apache Reverse Proxy: Problem on Page Reload Reply with quote

Hello,

I'm looking for a solution for a strange problem:

I've got an Oracle Apex server running behind Apache 2.2.3 as a reverse-proxy.

There is no problem accessing the application, performance is accetpable, no errors. There only appear problems once I start reloading pages (i.e. hitting the browser's reload button): on initial load the page is displayed fast and correctly, but on reloading the images and styles are missing and the page-loading never completes.

In ssl_error_log I can see things like these:

Code:
[Mon Aug 06 08:44:52 2012] [error] [client xx.xx.xx.xx] (70007)The timeout specified has expired: proxy: error reading status line from remote server 127.0.0.1, referer: https://xx.xx.xx.xx/apex/f?p=103:101:54553708267713:::::
[Mon Aug 06 08:44:52 2012] [error] [client xx.xx.xx.xx] proxy: Error reading from remote server returned by /i/themes/theme_11/css/theme_4_0.css, referer: https://xx.xx.xx.xx/apex/f?p=103:101:54553708267713:::::


Here's the proxy-portion of apache's httpd.conf

Code:
<IfModule mod_proxy.c>
ProxyRequests Off

<Proxy *>
Order deny,allow
Allow from all
</Proxy>

ProxyPass / http://127.0.0.1:8080/
ProxyPassReverse / http://127.0.0.1:8080/

SetEnv force-proxy-request-1.0 1
SetEnv proxy-nokeepalive 1

<IfModule mod_disk_cache.c>
CacheEnable disk /
CacheRoot "/var/cache/mod_proxy"
</IfModule>

</IfModule>


Any hints would be greatly appreaciated!
Thanks,
Stephan
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7371
Location: Germany, Next to Hamburg

PostPosted: Tue 07 Aug '12 17:43    Post subject: Reply with quote

it seems that the Apex server is not answering that request.
best practice to put all the static files like images, css, etc. on apache and exclude those paths from the reverse proxy part.
Back to top


Reply to topic   Topic: Apache Reverse Proxy: Problem on Page Reload View previous topic :: View next topic
Post new topic   Forum Index -> Apache