You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Ol...@unilog.de on 2006/02/15 14:04:48 UTC

[users@httpd] 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@xs4all.nl]
Gesendet: Mi 15.02.2006 00:37
An: alex.lei@oracle.com
Cc: users@httpd.apache.org
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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org




---------------------------------------------------------------------
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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org