Hello Theo,
Thank you for the fast reply!
Ok, here's the details:
This is a request for a page located in the tomcat directory ($DOCUMENT_ROOT/globis). As you can see, be_host is set but is not used, although I set
Backhand bySession be_host=
(snip)
[Fri Nov 23 21:01:27 2001] [error] mod_backhand: Check 6 -- headers(5)
[Fri Nov 23 21:01:27 2001] [error] mod_backhand: Check 8
[Fri Nov 23 21:01:27 2001] [error] mod_backhand: Request tally 35 [44]
[Fri Nov 23 21:01:28 2001] [notice] (Translate <=) = { /globis/hm2001/html/banner.jsp, (null), (null[Fri Nov 23 21:01:28 2001] [notice] (Translate =>) = { /globis/hm2001/html/banner.jsp, (null), (null[Fri Nov 23 21:01:28 2001] [notice] (Type <=) = { (null), /globis/hm2001/html/banner.jsp, (null) }
[Fri Nov 23 21:01:28 2001] [notice] Func executed for (null) [byAge(NULL)] (2 -> 2)
[Fri Nov 23 21:01:28 2001] [notice] New server list: [ 0 1 ]
[Fri Nov 23 21:01:28 2001] [notice] Func executed for (null) [byBusyChildren(NULL)] (2 -> 2)
[Fri Nov 23 21:01:28 2001] [notice] New server list: [ 0 1 ]
[Fri Nov 23 21:01:28 2001] [notice] Func executed for (null) [bySession(NULL)] (2 -> 2)
[Fri Nov 23 21:01:28 2001] [notice] New server list: [ 0 1 ]
[Fri Nov 23 21:01:28 2001] [notice] All funcs executed -> fox7.test.messe.de
[Fri Nov 23 21:01:28 2001] [notice] (Type =>) = *{ backhand-redirection, backhand:/globis/hm2001/htm[Fri Nov 23 21:01:28 2001] [notice] (Postread =>) = { Backhanding to 0 }
[Fri Nov 23 21:01:28 2001] [notice] (Postread =>) = { backhand:/globis/hm2001/html/banner.jsp, backh[Fri Nov 23 21:01:28 2001] [notice] (Translate <=) = { backhand:/globis/hm2001/html/banner.jsp, back[Fri Nov 23 21:01:28 2001] [notice] (Type <=) = { backhand-redirection, /globis/hm2001/html/banner.j[Fri Nov 23 21:01:28 2001] [notice] (Type =>) = *{ backhand-redirection, /globis/hm2001/html/banner.[Fri Nov 23 21:01:28 2001] [error] mod_backhand: Check 1
[Fri Nov 23 21:01:28 2001] [error] mod_backhand: Check 2
[Fri Nov 23 21:01:28 2001] [error] mod_backhand: Check 3 --
GET /globis/hm2001/html/banner.jsp?sprache=D&kontakt=2085292&veran_jj=2001&veran_nr=001&be_host=0a00Accept: text/xml, application/xml, application/xhtml+xml, text/html;q=0.9, image/png, image/jpeg, imAccept-Charset: ISO-8859-1, utf-8;q=0.66, *;q=0.66
Accept-Encoding: gzip, deflate, compress;q=0.9
Accept-Language: en-us
Cache-Control: max-age=259200
Connection: Keep-Alive
Cookie: be_host=0a00031b; JSESSIONID=074892E8619241B7904318F54119D540
Host: globistest.dmag.messe.de
Keep-Alive: 300
Referer:
http://globistest.dmag.messe.de/globis/hm2001/html/aussteller_fs_d.jsp?sprache=D&kontakt=20User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.6) Gecko/20011120
Via: 1.1 some.proxy.somewhere.com:3128 (Squid/2.4.STABLE1)
X-Forwarded-For: 10.0.0.1
BackhandProxied: 192.168.0.1
(snip)
Next try. Now I visited a page in php-land (PHPSESSID is set now) and went back to the same page as above. bySession now makes his (right) decision,
based on PHPSESSID I guess.
(snip)
[Fri Nov 23 21:07:39 2001] [error] mod_backhand: Check 6 -- headers(5)
[Fri Nov 23 21:07:39 2001] [error] mod_backhand: Check 8
[Fri Nov 23 21:07:39 2001] [error] mod_backhand: Request tally 33 [48]
[Fri Nov 23 21:07:39 2001] [notice] (Translate <=) = { /globis/hm2001/html/banner.jsp, (null), (null[Fri Nov 23 21:07:39 2001] [notice] (Translate =>) = { /globis/hm2001/html/banner.jsp, (null), (null[Fri Nov 23 21:07:39 2001] [notice] (Type <=) = { (null), /globis/hm2001/html/banner.jsp, (null) }
[Fri Nov 23 21:07:39 2001] [notice] Func executed for (null) [byAge(NULL)] (2 -> 2)
[Fri Nov 23 21:07:39 2001] [notice] New server list: [ 0 1 ]
[Fri Nov 23 21:07:39 2001] [notice] Func executed for (null) [byBusyChildren(NULL)] (2 -> 2)
[Fri Nov 23 21:07:39 2001] [notice] New server list: [ 0 1 ]
[Fri Nov 23 21:07:39 2001] [notice] Func executed for (null) [bySession(NULL)] (2 -> 1)
[Fri Nov 23 21:07:39 2001] [notice] New server list: [ 0 ]
[Fri Nov 23 21:07:39 2001] [notice] All funcs executed -> fox7.test.messe.de
[Fri Nov 23 21:07:39 2001] [notice] (Type =>) = *{ backhand-redirection, backhand:/globis/hm2001/htm[Fri Nov 23 21:07:39 2001] [notice] (Postread =>) = { Backhanding to 0 }
[Fri Nov 23 21:07:39 2001] [notice] (Postread =>) = { backhand:/globis/hm2001/html/banner.jsp, backh[Fri Nov 23 21:07:39 2001] [notice] (Translate <=) = { backhand:/globis/hm2001/html/banner.jsp, back[Fri Nov 23 21:07:39 2001] [notice] (Type <=) = { backhand-redirection, /globis/hm2001/html/banner.j[Fri Nov 23 21:07:39 2001] [notice] (Type =>) = *{ backhand-redirection, /globis/hm2001/html/banner.[Fri Nov 23 21:07:39 2001] [error] mod_backhand: Check 1
[Fri Nov 23 21:07:39 2001] [error] mod_backhand: Check 2
[Fri Nov 23 21:07:39 2001] [error] mod_backhand: Check 3 --
GET /globis/hm2001/html/banner.jsp?sprache=D&kontakt=2085292&veran_jj=2001&veran_nr=001&be_host=0a00Accept: text/xml, application/xml, application/xhtml+xml, text/html;q=0.9, image/png, image/jpeg, imAccept-Charset: ISO-8859-1, utf-8;q=0.66, *;q=0.66
Accept-Encoding: gzip, deflate, compress;q=0.9
Accept-Language: en-us
Cache-Control: max-age=259200
Connection: Keep-Alive
Cookie: be_host=0a00031b; JSESSIONID=B94174252364058206E602B6E8378618; PHPSESSID=0a00031bbe5f34d5232Host: globistest.dmag.messe.de
Keep-Alive: 300
Referer:
http://globistest.dmag.messe.de/globis/hm2001/html/aussteller_fs_d.jsp?sprache=D&kontakt=20User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.6) Gecko/20011120
Via: 1.1 some.proxy.somewhere.com:3128 (Squid/2.4.STABLE1)
X-Forwarded-For: 10.0.0.1
BackhandProxied: 192.168.0.1
(snip)
Now I altered the httpd.conf (be_host identifier now set at the first bySession statement), cleared the cookies and reloaded the page. No PHPSESSID, but be_host.
bySession now also mentions the non-default identifier! Everything works fine now with be_host...
(snip)
[Fri Nov 23 21:12:38 2001] [error] mod_backhand: Check 6 -- headers(5)
[Fri Nov 23 21:12:38 2001] [error] mod_backhand: Check 8
[Fri Nov 23 21:12:38 2001] [error] mod_backhand: Request tally 23 [3]
[Fri Nov 23 21:12:38 2001] [notice] (Translate <=) = { /globis/hm2001/html/banner.jsp, (null), (null[Fri Nov 23 21:12:38 2001] [notice] (Translate =>) = { /globis/hm2001/html/banner.jsp, (null), (null[Fri Nov 23 21:12:38 2001] [notice] (Type <=) = { (null), /globis/hm2001/html/banner.jsp, (null) }
[Fri Nov 23 21:12:38 2001] [notice] Func executed for (null) [byAge(NULL)] (2 -> 2)
[Fri Nov 23 21:12:38 2001] [notice] New server list: [ 0 1 ]
[Fri Nov 23 21:12:38 2001] [notice] Func executed for (null) [byBusyChildren(NULL)] (2 -> 2)
[Fri Nov 23 21:12:38 2001] [notice] New server list: [ 0 1 ]
[Fri Nov 23 21:12:38 2001] [notice] Func executed for (null) [bySession(be_host=)] (2 -> 1)
[Fri Nov 23 21:12:38 2001] [notice] New server list: [ 0 ]
[Fri Nov 23 21:12:38 2001] [notice] All funcs executed -> fox7.test.messe.de
[Fri Nov 23 21:12:38 2001] [notice] (Type =>) = *{ backhand-redirection, backhand:/globis/hm2001/htm[Fri Nov 23 21:12:38 2001] [notice] (Postread =>) = { Backhanding to 0 }
[Fri Nov 23 21:12:38 2001] [notice] (Postread =>) = { backhand:/globis/hm2001/html/banner.jsp, backh[Fri Nov 23 21:12:38 2001] [notice] (Translate <=) = { backhand:/globis/hm2001/html/banner.jsp, back[Fri Nov 23 21:12:38 2001] [notice] (Type <=) = { backhand-redirection, /globis/hm2001/html/banner.j[Fri Nov 23 21:12:38 2001] [notice] (Type =>) = *{ backhand-redirection, /globis/hm2001/html/banner.[Fri Nov 23 21:12:38 2001] [error] mod_backhand: Check 1
[Fri Nov 23 21:12:38 2001] [error] mod_backhand: Check 2
[Fri Nov 23 21:12:38 2001] [error] mod_backhand: Check 3 --
GET /globis/hm2001/html/banner.jsp?sprache=D&kontakt=2085292&veran_jj=2001&veran_nr=001&be_host=0a00Accept: text/xml, application/xml, application/xhtml+xml, text/html;q=0.9, image/png, image/jpeg, imAccept-Charset: ISO-8859-1, utf-8;q=0.66, *;q=0.66
Accept-Encoding: gzip, deflate, compress;q=0.9
Accept-Language: en-us
Cache-Control: max-age=259200
Connection: Keep-Alive
Cookie: be_host=0a00031b; JSESSIONID=E0D46056C48194B27443C53191A6C1F5
Host: globistest.dmag.messe.de
Keep-Alive: 300
Referer:
http://globistest.dmag.messe.de/globis/hm2001/html/aussteller_fs_d.jsp?sprache=D&kontakt=20User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.6) Gecko/20011120
Via: 1.1 some.proxy.somewhere.com:3128 (Squid/2.4.STABLE1)
X-Forwarded-For: 10.0.0.1
BackhandProxied: 192.168.0.1
(snip)
but not with PHPSESSID :-(
(snip)
[Fri Nov 23 21:17:09 2001] [notice] (Translate <=) = { /banner-1_0_0.html, (null), (null) }
[Fri Nov 23 21:17:09 2001] [notice] (Translate =>) = { /banner-1_0_0.html, (null), (null) }
[Fri Nov 23 21:17:09 2001] [notice] (Type <=) = { (null), /banner-1_0_0.html, (null) }
[Fri Nov 23 21:17:09 2001] [notice] Func executed for (null) [byAge(NULL)] (2 -> 2)
[Fri Nov 23 21:17:09 2001] [notice] New server list: [ 0 1 ]
[Fri Nov 23 21:17:09 2001] [notice] Func executed for (null) [byBusyChildren(NULL)] (2 -> 2)
[Fri Nov 23 21:17:09 2001] [notice] New server list: [ 1 0 ]
[Fri Nov 23 21:17:09 2001] [notice] Func executed for (null) [bySession(be_host=)] (2 -> 2)
[Fri Nov 23 21:17:09 2001] [notice] New server list: [ 1 0 ]
[Fri Nov 23 21:17:09 2001] [notice] All funcs executed -> fox8.test.messe.de
[Fri Nov 23 21:17:09 2001] [notice] (Type =>) = *{ backhand-redirection, backhand:/banner-1_0_0.html[Fri Nov 23 21:17:09 2001] [notice] (Postread =>) = { Backhanding to 1 }
[Fri Nov 23 21:17:09 2001] [notice] (Postread =>) = { backhand:/banner-1_0_0.html, backhand-redirect[Fri Nov 23 21:17:09 2001] [notice] (Translate <=) = { backhand:/banner-1_0_0.html, backhand-redirec[Fri Nov 23 21:17:09 2001] [notice] (Type <=) = { backhand-redirection, /banner-1_0_0.html, (null) }[Fri Nov 23 21:17:09 2001] [notice] (Type =>) = *{ backhand-redirection, /banner-1_0_0.html, (null)
[Fri Nov 23 21:17:09 2001] [error] mod_backhand: Check 1
[Fri Nov 23 21:17:09 2001] [error] mod_backhand: Check 2
[Fri Nov 23 21:17:09 2001] [error] mod_backhand: Check 3 --
GET /banner-1_0_0.html HTTP/1.0
Accept: text/xml, application/xml, application/xhtml+xml, text/html;q=0.9, image/png, image/jpeg, imAccept-Charset: ISO-8859-1, utf-8;q=0.66, *;q=0.66
Accept-Encoding: gzip, deflate, compress;q=0.9
Accept-Language: en-us
Cache-Control: max-age=259200
Connection: Keep-Alive
Cookie: PHPSESSID=0a00031b2ee4a9b62c9b9b03d74ab04e3995aee3
Host: globistest.dmag.messe.de
Keep-Alive: 300
Referer:
http://globistest.dmag.messe.de/1_0_0 User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.6) Gecko/20011120
Via: 1.1 some.proxy.somewhere.com:3128 (Squid/2.4.STABLE1)
X-Forwarded-For: 10.0.0.1
BackhandProxied: 192.168.0.1
(snip)
It seems to me that bySession does ignore the identifier after its first ocurrence in the config?!
Best regards,
Tilman