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 is ignored from within virtual host from OHS11
Author
stsotetsi



Joined: 28 Jun 2012
Posts: 1
Location: South Africa

PostPosted: Fri 29 Jun '12 10:33    Post subject: Reverse Proxy is ignored from within virtual host from OHS11 Reply with quote

Hi Guys

We are running oracle OHS 11G which based on Apache 2.2.
We have been trying to implement reverse proxy with the virtual host, but that does not work, it instead routes traffic to document root. check below for example:

<VirtualHost cdsh-ep-dev9.tekom.co.za:7782>
ServerName sapportaldev9.telkom.co.za
ServerAdmin you@telkom.co.za
RewriteEngine On
RewriteOptions inherit
<IfModule mod_proxy.c>
ProxyRequests Off
DebugConfigInfo ON
ProxyPass /test_2.txt http://sp06supp1.telkom.co.za/test.txt
ProxyPassReverse /test_2.txt http://sp06supp1.telkom.co.za/test.txt
<Directory proxy:*>
Order deny,allow
Allow from all
</Directory>
</IfModule>
</VirtualHost>

Any idea why is it that the reverse proxy gets ignored but requests get routed to document root?

Your help will be very much appreciated.
Back to top
James Blond
Moderator


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

PostPosted: Sat 30 Jun '12 3:05    Post subject: Reply with quote

Since you use <IfModule mod_proxy.c> you might not see if mod_proxy is not loaded. Are you sure you load the proxy module and mod_proxy_http?
Back to top


Reply to topic   Topic: Reverse Proxy is ignored from within virtual host from OHS11 View previous topic :: View next topic
Post new topic   Forum Index -> Apache