[prev in list] [next in list] [prev in thread] [next in thread]
List: backhand-users
Subject: [m_b_users] extension trouble
From: Ron Haaland <bhlist () hipdesign ! com>
Date: 2002-06-11 20:02:27
[Download RAW message or body]
I'm having problems getting files with extensions to balance between web
servers.
http://bh.hipdesign.com/test will redirect to the other server
(bh1-2.hipdesign.com)
but http://bh.hipdesign.com/test.html will not redirect to the other
server (bh1-2.hipdesign.com).
I've experimented with using <Files ~ "(\.html)$"> and also with out the
files directive.
I am thinking I may have the files directive setup incorrectly but not
sure how to write it out correctly.
To add mod_backhand I used apxs.
My configs and log files....
The test cgi shows both servers online.
http://bh.hipdesign.com/backhand/
Entry Hostname Age Address Total Mem Avail Mem # ready servers/
# total servers ~ms/req [#req] Arriba # CPUs Load/HWM CPU Idle
0 bh1-1.hipdesign.com 0 65.84.71.167:80 1003 MB 836 MB 8/8 0 [0] 4022740 2
0.000/16 1.000
1 bh1-2.hipdesign.com 0 65.84.71.166:80 124 MB 95 MB 10/10 494 [3] 429363
1 0.000/16 0.98
httpd.conf
<VirtualHost 65.84.71.167>
ServerName bh.hipdesign.com
<Directory "/var/www/html">
Options +Indexes
<Files ~ "(\.html)$">
Backhand byRandom
Backhand HTTPRedirectToName
</files>
</Directory>
<Directory "/home/httpd/cgi-bin/">
AllowOverride None
Options None
Order allow,deny
Allow from all
Backhand byAge 2
Backhand byLoad
</Directory>
</VirtualHost>
<IfModule mod_backhand.c>
UnixSocketDir /var/backhand/backhand
MulticastStats 65.84.71.191:4445,1
AcceptStats 65.84.71.0/16
BackhandLogLevel +netall
BackhandLogLevel +mbcsall
BackhandLogLevel +dcsnall
<Location "/backhand/">
SetHandler backhand-handler
</Location>
</IfModule>
error_log from bh1-1.hipdesign.com accessing
http://bh.hipdesign.com/test.html
[Wed Jun 12 12:43:19 2002] [notice] (Translate <=) = { /test.html,
(null), (null) }
[Wed Jun 12 12:43:19 2002] [notice] (Translate =>) = { /test.html,
(null), (null) }
[Wed Jun 12 12:43:19 2002] [notice] (Translate <=) = { /test.html,
(null), (null) }
[Wed Jun 12 12:43:19 2002] [notice] (Translate =>) = { /test.html,
(null), (null) }
[Wed Jun 12 12:43:19 2002] [notice] (Postread =>) = { DECLINED }
[Wed Jun 12 12:43:19 2002] [notice] (Translate <=) = { /test.html,
(null), (null) }
[Wed Jun 12 12:43:19 2002] [notice] (Translate =>) = { /test.html,
(null), (null) }
[Wed Jun 12 12:43:20 2002] [notice] (Translate <=) = { /test.html,
(null), (null) }
[Wed Jun 12 12:43:20 2002] [notice] (Translate =>) = { /test.html,
(null), (null) }
[Wed Jun 12 12:43:20 2002] [notice] (Postread =>) = { DECLINED }
[Wed Jun 12 12:43:20 2002] [notice] (Translate <=) = { /test.html,
(null), (null) }
[Wed Jun 12 12:43:20 2002] [notice] (Translate =>) = { /test.html,
(null), (null) }
[Wed Jun 12 12:43:20 2002] [notice] (Translate <=) = { /test.html,
(null), (null) }
[Wed Jun 12 12:43:20 2002] [notice] (Translate =>) = { /test.html,
(null), (null) }
[Wed Jun 12 12:43:20 2002] [notice] (Postread =>) = { DECLINED }
[Wed Jun 12 12:43:20 2002] [notice] (Translate <=) = { /test.html,
(null), (null) }
[Wed Jun 12 12:43:20 2002] [notice] (Translate =>) = { /test.html,
(null), (null) }
[Wed Jun 12 12:43:21 2002] [notice] (Translate <=) = { /test.html,
(null), (null) }
[Wed Jun 12 12:43:21 2002] [notice] (Translate =>) = { /test.html,
(null), (null) }
error_log from bh1-1.hipdesign.com accessing test
http://bh.hipdesign.com/test
[Wed Jun 12 12:43:24 2002] [notice] Func executed for (null)
[byRandom(NULL)] (2 -> 2)
[Wed Jun 12 12:43:24 2002] [notice] New server list: [ 1 0 ]
[Wed Jun 12 12:43:24 2002] [notice] Func executed for (null)
[HTTPRedirectToName(NULL)] (2 -> 2)
[Wed Jun 12 12:43:24 2002] [notice] New server list: [ 1 0 ]
[Wed Jun 12 12:43:24 2002] [notice] All funcs executed ->
bh1-2.hipdesign.com
[Wed Jun 12 12:43:24 2002] [notice] (Type =>) = *{ backhand-redirection,
backhand:/test, backhand/redirect }
[Wed Jun 12 12:43:24 2002] [notice] (Postread =>) = { Backhanding to 1 }
[Wed Jun 12 12:43:24 2002] [notice] (Postread =>) = { backhand:/test,
backhand-redirection, (null) }
[Wed Jun 12 12:43:24 2002] [notice] (Translate <=) = { backhand:/test,
backhand-redirection, (null) }
[Wed Jun 12 12:43:24 2002] [notice] (Type <=) = { backhand-redirection,
/test, (null) }
[Wed Jun 12 12:43:24 2002] [notice] (Type =>) = *{ backhand-redirection,
/test, (null) }
[Wed Jun 12 12:43:24 2002] [error] HTTP Redirection by name [1]
[Wed Jun 12 12:43:24 2002] [notice] (Postread =>) = { DECLINED }
[Wed Jun 12 12:43:24 2002] [notice] (Translate <=) = { /test, (null),
(null) }
[Wed Jun 12 12:43:24 2002] [notice] (Translate =>) = { /test, (null),
(null) }
[Wed Jun 12 12:43:24 2002] [notice] (Type <=) = { (null), /test, (null) }
[Wed Jun 12 12:43:24 2002] [notice] (Type =>) = { (null), /test, (null) }
[Wed Jun 12 12:43:24 2002] [notice] Reseting connection remote_addr to
65.84.71.162
Access log from error_log from bh1-1.hipdesign.com accessing
http://bh.hipdesign.com/test.html
65.84.71.163 - - [12/Jun/2002:12:43:19 -0700] "GET /test.html HTTP/1.1"
200 77 "-" "Mozilla/4.5 (compatible; OmniWeb/4.1-v399; Mac_PowerPC)"
65.84.71.163 - - [12/Jun/2002:12:43:20 -0700] "GET /test.html HTTP/1.1"
200 77 "-" "Mozilla/4.5 (compatible; OmniWeb/4.1-v399; Mac_PowerPC)"
65.84.71.163 - - [12/Jun/2002:12:43:20 -0700] "GET /test.html HTTP/1.1"
200 77 "-" "Mozilla/4.5 (compatible; OmniWeb/4.1-v399; Mac_PowerPC)"
65.84.71.163 - - [12/Jun/2002:12:43:21 -0700] "GET /test.html HTTP/1.1"
200 77 "-" "Mozilla/4.5 (compatible; OmniWeb/4.1-v399; Mac_PowerPC)"
65.84.71.163 - - [12/Jun/2002:12:43:21 -0700] "GET /test.html HTTP/1.1"
200 77 "-" "Mozilla/4.5 (compatible; OmniWeb/4.1-v399; Mac_PowerPC)"
Access log from error_log from bh1-1.hipdesign.com accessing
http://bh.hipdesign.com/test
65.84.71.163 - - [12/Jun/2002:12:43:24 -0700] "GET /test HTTP/1.1" 302
296 "-" "Mozilla/4.5 (compatible; OmniWeb/4.1-v399; Mac_PowerPC)"
65.84.71.163 - - [12/Jun/2002:12:43:24 -0700] "GET /test HTTP/1.0" 200
77 "-" "Mozilla/4.5 (compatible; OmniWeb/4.1-v399; Mac_PowerPC)"
_______________________________________________
backhand-users mailing list
backhand-users@lists.backhand.org
http://lists.backhand.org/mailman/listinfo/backhand-users
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic