Hello Josh, all,

I am sorry to keep this thread up. My Objective is to
have http://proxy/gqaf:soi:PAR:TRE:0000001 rewritten
to
http://backend:8080/gqaf-web/gqaf:soi:PAR:TRE:0000001
without changing the URL on the browser.


***
RewriteEngine On
RewriteRule ^/(.*gqaf:soi:PAR:TRE.*)
http://backend:8080/gqaf-web/$1 [P,L]
***


[Tue Apr 01 15:47:10 2008] [error] [client
172.21.194.71] File does not exist:
/usr/local/apache2/htdocs/gqaf-web, referer:
http://proxy/gqaf:soi:PAR:TRE:0000001
[Tue Apr 01 15:47:10 2008] [error] [client
172.21.194.71] File does not exist:
/usr/local/apache2/htdocs/tree.jsp, referer:
http://proxy/gqaf:soi:PAR:TRE:0000001
[Tue Apr 01 15:47:10 2008] [error] [client
172.21.194.71] File does not exist:
/usr/local/apache2/htdocs/content.jsp, referer:
http://proxy/gqaf:soi:PAR:TRE:0000001


I thought of adding:
***
ProxyHTMLLogVerbose On
LogLevel Debug
SetOutputFilter  proxy-html
ProxyHTMLURLMap http://backend:8080/gqaf-web/   
gqaf-web/ 
***

I still receive the same message:

[Tue Apr 01 17:24:16 2008] [error] [client
172.21.194.71] File does not exist:
/usr/local/apache2/htdocs/gqaf-web, referer:
http://proxy/gqaf:soi:PAR:TRE:0000001
[Tue Apr 01 17:24:16 2008] [error] [client
172.21.194.71] File does not exist:
/usr/local/apache2/htdocs/tree.jsp, referer:
http://proxy/gqaf:soi:PAR:TRE:0000001
[Tue Apr 01 17:24:16 2008] [error] [client
172.21.194.71] File does not exist:
/usr/local/apache2/htdocs/content.jsp, referer:
http://proxy/gqaf:soi:PAR:TRE:0000001


I added

<Location /gqaf-web/>
        ProxyPassReverse /
        SetOutputFilter  proxy-html
        ProxyHTMLURLMap  /      /gqaf-web/
        ProxyHTMLURLMap  /gqaf-web  /gqaf-web
        RequestHeader    unset  Accept-Encoding
</Location>


I got a segmentation fault:

[Tue Apr 01 17:48:39 2008] [info] [client
172.21.194.71] Got charset ISO-8859-1 from HTML META
[Tue Apr 01 17:48:42 2008] [notice] child pid 17180
exit signal Segmentation fault (11)


Could you please assist?
thanks.

--- Joshua Slive <[EMAIL PROTECTED]> wrote:

> On Mon, Mar 31, 2008 at 7:08 AM, Melanie Pfefer
> <[EMAIL PROTECTED]> wrote:
> > Hello!
> >  After configuring proxy_html_module, I used
> ProxyPass
> >  as per
> >  http://www.apachetutor.org/admin/reverseproxies:
> 
> >  RewriteRule ^/(.*TRE.*)
> >  http://backend:8080/gqaf-web/$1 [P,L] does not
> work
> >  either because the browser searches for the files
> in
> >  the proxy htdocs instead of the backend webapps
> so it
> >  displays File not Found
> 
> This is where you need to properly configure
> mod_proxy_html as per the
> section "Fixing HTML Links" in the above referenced
> document. I'm not
> a mod_proxy_html expert, so I can't give you the
> details off the top
> of my head. But if you are worried about using
> RewriteRule instead of
> ProxyPass, I don't believe that is a problem. All
> the other directives
> should work the same.
> 
> Joshua.
> 
>
---------------------------------------------------------------------
> 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]
> 
> 



      __________________________________________________________
Sent from Yahoo! Mail.
A Smarter Inbox http://uk.docs.yahoo.com/nowyoucan.html

---------------------------------------------------------------------
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]

Reply via email to