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


errors.log

[Fri Mar 28 08:06:13 2008] [debug]
mod_proxy_http.c(1662): proxy: HTTP: serving URL
http://zeus:8080/gqaf-web/gqaf:soi:PAR:TRE:0000001
[Fri Mar 28 08:06:13 2008] [debug] proxy_util.c(1397):
[client y.y.y.y] proxy: *: found reverse proxy worker
for http://zeus:8080/gqaf-web/gqaf:soi:PAR:TRE:0000001
[Fri Mar 28 08:06:13 2008] [debug] mod_proxy.c(777):
Running scheme http handler (attempt 0)
[Fri Mar 28 08:06:13 2008] [debug]
mod_proxy_http.c(1662): proxy: HTTP: serving URL
http://zeus:8080/gqaf-web/gqaf:soi:PAR:TRE:0000001
[Fri Mar 28 08:06:13 2008] [debug] proxy_util.c(1798):
proxy: HTTP: has acquired connection for (*)
[Fri Mar 28 08:06:13 2008] [debug] proxy_util.c(1859):
proxy: connecting
http://zeus:8080/gqaf-web/gqaf:soi:PAR:TRE:0000001 to
zeus:8080
[Fri Mar 28 08:06:13 2008] [debug] proxy_util.c(1955):
proxy: connected /gqaf-web/gqaf:soi:PAR:TRE:0000001 to
zeus:8080
[Fri Mar 28 08:06:13 2008] [debug] proxy_util.c(2050):
proxy: HTTP: fam 2 socket created to connect to *
[Fri Mar 28 08:06:13 2008] [debug] proxy_util.c(2146):
proxy: HTTP: connection complete to x.x.x.x:8080
(zeus)
[Fri Mar 28 08:06:14 2008] [debug] proxy_util.c(1625):
proxy: grabbed scoreboard slot 0 in child 24997 for
worker proxy:reverse
[Fri Mar 28 08:06:14 2008] [debug] proxy_util.c(1644):
proxy: worker proxy:reverse already initialized
[Fri Mar 28 08:06:14 2008] [debug] proxy_util.c(1724):
proxy: initialized single connection worker 0 in child
24997 for (*)
[Fri Mar 28 08:06:16 2008] [debug]
mod_proxy_http.c(1448): proxy: start body send
[Fri Mar 28 08:06:16 2008] [debug]
mod_proxy_http.c(1537): proxy: end body send
[Fri Mar 28 08:06:16 2008] [debug] proxy_util.c(1816):
proxy: HTTP: has released connection for (*)
[Fri Mar 28 08:06:16 2008] [error] [client y.y.y.y]
File does not exist:
/usr/local/apache2/htdocs/gqaf-web, referer:
http://testserver/gqaf:soi:PAR:TRE:0000001
[Fri Mar 28 08:06:17 2008] [error] [client y.y.y.y]
File does not exist:
/usr/local/apache2/htdocs/tree.jsp, referer:
http://testserver/gqaf:soi:PAR:TRE:0000001
[Fri Mar 28 08:06:17 2008] [error] [client y.y.y.y]
File does not exist:
/usr/local/apache2/htdocs/content.jsp,
referer:http://testserver/gqaf:soi:PAR:TRE:0000001
[Fri Mar 28 08:06:17 2008] [debug] proxy_util.c(1625):
proxy: grabbed scoreboard slot 0 in child 25004 for
worker proxy:reverse
[Fri Mar 28 08:06:17 2008] [debug] proxy_util.c(1644):
proxy: worker proxy:reverse already initialized
[Fri Mar 28 08:06:17 2008] [debug] proxy_util.c(1724):
proxy: initialized single connection worker 0 in child
25004 for (*)

rewrite.log
y.y.y.y - - [28/Mar/2008:08:21:48 +0100]
[testserver/sid#7f8c8][rid#16d450/initial] (2) init
rewrite engine with requested uri
/gqaf:soi:PAR:TRE:0000001
y.y.y.y - - [28/Mar/2008:08:21:48 +0100]
[testserver/sid#7f8c8][rid#16d450/initial] (3)
applying pattern '^/(OpenFile.*)' to uri
'/gqaf:soi:PAR:TRE:0000001'
y.y.y.y - - [28/Mar/2008:08:21:48 +0100]
[testserver/sid#7f8c8][rid#16d450/initial] (3)
applying pattern '^/(.*gqaf:soi:PAR:TRE.*)' to uri
'/gqaf:soi:PAR:TRE:0000001'
y.y.y.y - - [28/Mar/2008:08:21:48 +0100]
[testserver/sid#7f8c8][rid#16d450/initial] (2) rewrite
'/gqaf:soi:PAR:TRE:0000001' ->
'http://zeus:8080/gqaf-web/gqaf:soi:PAR:TRE:0000001'
y.y.y.y - - [28/Mar/2008:08:21:48 +0100]
[testserver/sid#7f8c8][rid#16d450/initial] (2) forcing
proxy-throughput with
http://zeus:8080/gqaf-web/gqaf:soi:PAR:TRE:0000001
y.y.y.y - - [28/Mar/2008:08:21:48 +0100]
[testserver/sid#7f8c8][rid#16d450/initial] (1)
go-ahead with proxy request
proxy:http://zeus:8080/gqaf-web/gqaf:soi:PAR:TRE:0000001
[OK]
y.y.y.y - - [28/Mar/2008:08:21:51 +0100]
[testserver/sid#7f8c8][rid#171460/initial] (2) init
rewrite engine with requested uri
/gqaf-web/css/stylesheet.css
y.y.y.y - - [28/Mar/2008:08:21:51 +0100]
[testserver/sid#7f8c8][rid#171460/initial] (3)
applying pattern '^/(OpenFile.*)' to uri
'/gqaf-web/css/stylesheet.css'
y.y.y.y - - [28/Mar/2008:08:21:51 +0100]
[testserver/sid#7f8c8][rid#171460/initial] (3)
applying pattern '^/(.*gqaf:soi:PAR:TRE.*)' to uri
'/gqaf-web/css/stylesheet.css'
y.y.y.y - - [28/Mar/2008:08:21:51 +0100]
[testserver/sid#7f8c8][rid#171460/initial] (1) pass
through /gqaf-web/css/stylesheet.css
y.y.y.y - - [28/Mar/2008:08:21:51 +0100]
[testserver/sid#7f8c8][rid#16f458/initial] (2) init
rewrite engine with requested uri /tree.jsp
y.y.y.y - - [28/Mar/2008:08:21:51 +0100]
[testserver/sid#7f8c8][rid#16f458/initial] (3)
applying pattern '^/(OpenFile.*)' to uri '/tree.jsp'
y.y.y.y - - [28/Mar/2008:08:21:51 +0100]
[testserver/sid#7f8c8][rid#16f458/initial] (3)
applying pattern '^/(.*gqaf:soi:PAR:TRE.*)' to uri
'/tree.jsp'
y.y.y.y - - [28/Mar/2008:08:21:51 +0100]
[testserver/sid#7f8c8][rid#16f458/initial] (1) pass
through /tree.jsp
y.y.y.y - - [28/Mar/2008:08:21:52 +0100]
[testserver/sid#7f8c8][rid#16d450/initial] (2) init
rewrite engine with requested uri /content.jsp
y.y.y.y - - [28/Mar/2008:08:21:52 +0100]
[testserver/sid#7f8c8][rid#16d450/initial] (3)
applying pattern '^/(OpenFile.*)' to uri
'/content.jsp'
y.y.y.y - - [28/Mar/2008:08:21:52 +0100]
[testserver/sid#7f8c8][rid#16d450/initial] (3)
applying pattern '^/(.*gqaf:soi:PAR:TRE.*)' to uri
'/content.jsp'
y.y.y.y - - [28/Mar/2008:08:21:52 +0100]
[testserver/sid#7f8c8][rid#16d450/initial] (1) pass
through /content.jsp







If I access
http://testserver/OpenFile?ID=PAR.VW.0000011, the page
opens normally

access.log
y.y.y.y - - [28/Mar/2008:08:28:26 +0100] "GET
/OpenFile?ID=PAR.VW.0000011 HTTP/1.0" 200 7422

error.log

[Fri Mar 28 08:08:13 2008] [debug]
mod_proxy_http.c(54): proxy: HTTP: canonicalising URL
//zeus:9000/OpenFile
[Fri Mar 28 08:08:13 2008] [debug] proxy_util.c(1397):
[client y.y.y.y] proxy: *: found reverse proxy worker
for http://zeus:9000/OpenFile?ID=PAR.VW.0000011
[Fri Mar 28 08:08:13 2008] [debug] mod_proxy.c(777):
Running scheme http handler (attempt 0)
[Fri Mar 28 08:08:13 2008] [debug]
mod_proxy_http.c(1662): proxy: HTTP: serving URL
http://zeus:9000/OpenFile?ID=PAR.VW.0000011
[Fri Mar 28 08:08:13 2008] [debug] proxy_util.c(1798):
proxy: HTTP: has acquired connection for (*)
[Fri Mar 28 08:08:13 2008] [debug] proxy_util.c(1859):
proxy: connecting
http://zeus:9000/OpenFile?ID=PAR.VW.0000011 to
zeus:9000
[Fri Mar 28 08:08:13 2008] [debug] proxy_util.c(1955):
proxy: connected /OpenFile?ID=PAR.VW.0000011 to
zeus:9000
[Fri Mar 28 08:08:13 2008] [debug] proxy_util.c(2050):
proxy: HTTP: fam 2 socket created to connect to *
[Fri Mar 28 08:08:13 2008] [debug] proxy_util.c(2146):
proxy: HTTP: connection complete to x.x.x.x:9000
(zeus)
[Fri Mar 28 08:08:13 2008] [debug]
mod_proxy_http.c(1448): proxy: start body send
[Fri Mar 28 08:08:13 2008] [debug]
mod_proxy_http.c(1537): proxy: end body send
[Fri Mar 28 08:08:13 2008] [debug] proxy_util.c(1816):
proxy: HTTP: has released connection for (*)

rewrite.log
y.y.y.y - - [28/Mar/2008:08:24:42 +0100]
[testserver/sid#7f8c8][rid#16d450/initial] (2) init
rewrite engine with requested uri /OpenFile
y.y.y.y - - [28/Mar/2008:08:24:42 +0100]
[testserver/sid#7f8c8][rid#16d450/initial] (3)
applying pattern '^/(OpenFile.*)' to uri '/OpenFile'
y.y.y.y - - [28/Mar/2008:08:24:42 +0100]
[testserver/sid#7f8c8][rid#16d450/initial] (2) rewrite
'/OpenFile' -> 'http://zeus:9000/OpenFile'
y.y.y.y - - [28/Mar/2008:08:24:42 +0100]
[testserver/sid#7f8c8][rid#16d450/initial] (2) forcing
proxy-throughput with http://zeus:9000/OpenFile
y.y.y.y - - [28/Mar/2008:08:24:42 +0100]
[testserver/sid#7f8c8][rid#16d450/initial] (1)
go-ahead with proxy request
proxy:http://zeus:9000/OpenFile [OK]



      __________________________________________________________
Sent from Yahoo! Mail.
More Ways to Keep in Touch. 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