Actually,
after the URL gets rewritten to:
http://lucas.delexian.com/welcome/index.jsp
I added '/ocs' to where it's suppose to be in the URL, like so:
http://lucas.delexian.com/ocs/welcome/index.jsp
The above link allows me to see the page I want.
My thinking is that from the starting URL:
http://lucas.delexian.com
apache is redirecting to:
http://lucas.delexian.com:8009
However, the resultant page on port 8009 completes with:
http://lucas.delexian.com:8009/welcome/index.jsp
So, apache rewrites with:
http://lucas.delexian.com/welcome/index.jsp <-- taking the original URL, and
concatenating it with 'welcome/index.jsp'
--- 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]