httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Melanie Pfefer <melanie_pfe...@yahoo.co.uk>
Subject Re: [users@httpd] url redirection
Date Fri, 28 Mar 2008 18:17:07 GMT
Hello Joshua,

I suspect also that the backend server (a tomcat) is
not accepting this redirection.
Actually, the 2 rewrite rules follow the same basics
but in the first rewrite rule, the backend server is a
java servlet.

Do you think that additional configuration needs to be
done on tomcat side not apache?

thanks binches
--- Joshua Slive <joshua@slive.ca> wrote:

> On Fri, Mar 28, 2008 at 3:31 AM, Melanie Pfefer
> <melanie_pfefer@yahoo.co.uk> wrote:
> > Hello,
> >
> >  on testserver(IP address y.y.y.y), I enabled
> logging
> >  to debug mode.
> >
> >  httpd.conf has:
> >
> >  RewriteEngine On
> >  RewriteRule ^/(OpenFile.*) http://zeus:9000/$1
> [P,L]
> >  RewriteRule ^/(.*gqaf:soi:PAR:TRE.*)
> >  http://zeus:8080/gqaf-web/$1 [P,L]
> >
> > RewriteLog "/usr/local/apache2/logs/rewrite.log"
> >  RewriteLogLevel 9
> >
> >
> >  If I access
> >  http://testserver/gqaf:soi:PAR:TRE:0000001, I get
> 2
> >  frames but with no content
> >
> >  access.log
> >  y.y.y.y - - [28/Mar/2008:08:26:09 +0100] "GET
> >  /gqaf-web/css/stylesheet.css HTTP/1.0" 404 225
> >  y.y.y.y - - [28/Mar/2008:08:26:09 +0100] "GET
> >  /tree.jsp?uri=gqaf:soi:PAR:TRE:0000001 HTTP/1.0"
> 404
> >  206
> >  y.y.y.y - - [28/Mar/2008:08:26:10 +0100] "GET
> >  /content.jsp HTTP/1.0" 404 209
> 
> I'm not going to go through your logs in detail, but
> it certainly
> looks like the problem is links on the back-end
> server that break out
> of the reverse proxy namespace. Although it uses
> ProxyPass rather than
> RerwiteRule, this document should provide some
> useful background for
> understanding the complexities of reverse proxies:
> http://www.apachetutor.org/admin/reverseproxies
> 
> 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:
> users-unsubscribe@httpd.apache.org
>    "   from the digest:
> users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail:
> users-help@httpd.apache.org
> 
> 



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


Mime
View raw message