As a test, I have done the following:
On my laptop (client)
I have placed a host entry of:
www.company.com <External-IP>
On the server, I modified the /etc/host file:
127.0.0.1 www.delexian.com localhost
using my original settings:
I typed the URL: http://www.company.com/ocs/ on my laptop
At the end, I get an URL in the form of:
http://www.company.com/welcome/index.jsp
When I then try to type in http://www.company.com/ocs/welcome/index.jsp on my
laptop
I get to the page that I want.
Can anyone tell me where I should be looking at first? Since there is
essentially two apache servers at work here.
One on port 80, redirecting to:
http://lucas.delexian.com:8009
The other on port 8009, which is Oracle Collab suite
Which reponds internally if I type in:
http://lucas.delexian.com:8009
The page displays, and put an URL of:
http://lucas.delexian.com:8009/welcome/index.jsp
Thanks for all the ideas so far.
Alex
--- Begin Message ---
> 2. Server responds with rewrite of URL:
> http://lucas.delexian.com/welcome/index.jsp
The server is making a reversproxy for the locations /ocs but not for /welcome
So i think you need
<Location /welcome/>
ProxyPassReverse /
SetOutputFilter proxy-html
ProxyHTMLURLMap / /welcome/
ProxyHTMLURLMap /welcome /welcome
RequestHeader unset Accept-Encoding
</Location>
perhaps too
>Here you need to use ProxyPass /ocs ajp://lucas.delexian.com:8009
Is "ajp" as part of mod_ajp only avaible since Apache 2.2 ?
Greets
Oliver
-----Ursprüngliche Nachricht-----
Von: Joost de Heer [mailto:[EMAIL PROTECTED]
Gesendet: Mi 15.02.2006 00:37
An: [EMAIL PROTECTED]
Cc: [email protected]
Betreff: [EMAIL PROTECTED] Re: Apache 2 on Suse 9.1 Reverse Proxy not working
> 1. issue the following URL: http://lucas.delexian.com/ocs
> 2. Server responds with rewrite of URL:
> http://lucas.delexian.com/welcome/index.jsp
> 3. However, server message is:
> Object not found!
> The requested URL was not found on this server. If you entered the URL
> manually please check your spelling and try again.
The .jsp makes me think you want to proxy to a Tomcat machine. Then:
> ProxyPass /ocs http://lucas.delexian.com:8009
Here you need to use ProxyPass /ocs ajp://lucas.delexian.com:8009
Joost
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
" from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
" from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--- End Message ---
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
" from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]