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 ---
- To: <alex.lei@xxxxxxxxxx>, <users@xxxxxxxxxxxxxxxx>, <sanguis@xxxxxxxxx>
- Subject: [users@httpd] RE [users@httpd] Re: Apache 2 on Suse 9.1 Reverse Proxy not working
- From: <Oliver.Schaudt@xxxxxxxxx>
- Date: Wed, 15 Feb 2006 14:04:48 +0100
- Delivered-to: mailing list users@xxxxxxxxxxxxxxxx
- Mailing-list: contact users-help@xxxxxxxxxxxxxxxx; run by ezmlm
- Reply-to: users@xxxxxxxxxxxxxxxx
- Thread-index: AcYxwFZ43JURRgoeTpGwqAjjMTMHaQAbza2P
- Thread-topic: RE [users@httpd] Re: Apache 2 on Suse 9.1 Reverse Proxy not working
> 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:sanguis@xxxxxxxxx] Gesendet: Mi 15.02.2006 00:37 An: alex.lei@xxxxxxxxxx Cc: users@xxxxxxxxxxxxxxxx Betreff: [users@httpd] 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: users-unsubscribe@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx --------------------------------------------------------------------- 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: users-unsubscribe@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx
--- 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: users-unsubscribe@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx