Re: url redirection

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Mar 28, 2008 at 3:31 AM, Melanie Pfefer
<melanie_pfefer@xxxxxxxxxxx> 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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux