Mailing List Archive

mod_backhand and Tomcat
This is a multi-part message in MIME format.

------=_NextPart_000_001A_01C1E68B.BB243740
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hello Again:

I've been testing mod_backhand with the cgi-test pages and it seemed to =
work fine. Howerver, when I want to configure it for my VirtualHost, it =
just doesn't seem to work.

I am running a tomcat hosting...
The Directory that I want to balance is =
/var/tomcat4/domains/domainname/webapps/

Is it OK if I add <Directory "/var/tomcat4/domains/domainname/webbaps>
...
..
..
</Directory>

Inside the virtualhost for that app?....
I also tried making two different index.html files in =
/usr/local/apache/htdocs, and set on my default host
<Directory "/usr/local/apache/htdocs">
BackHand byRandom
BackHand byLoad
</Directory>

but that didn't work either.

Both of the machines I am using appear in the stats window

but they keep in 0[0] requests served (I don't know if it is supposed to =
work that way).


Thanks a lot to you all for all the help so far!

Gabriel Maffia.

------=_NextPart_000_001A_01C1E68B.BB243740
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2715.400" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Hello Again:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>I've been testing mod_backhand with the =
cgi-test=20
pages and it seemed to work fine. Howerver, when I want to configure it =
for my=20
VirtualHost, it just doesn't seem to work.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>I am running a tomcat =
hosting...</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>The Directory that I want to balance is =

/var/tomcat4/domains/domainname/webapps/</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Is it OK if I add &lt;Directory=20
"/var/tomcat4/domains/domainname/webbaps&gt;</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>...</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>..</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>..</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>&lt;/Directory&gt;</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Inside the virtualhost for that=20
app?....</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>I also tried making two different =
index.html files=20
in /usr/local/apache/htdocs, and set on my default host</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>&lt;Directory=20
"/usr/local/apache/htdocs"&gt;</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>&nbsp;&nbsp;&nbsp; BackHand =
byRandom</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>&nbsp;&nbsp;&nbsp; BackHand =
byLoad</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>&lt;/Directory&gt;</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>but that didn't work =
either.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Both of the machines I am using appear =
in the stats=20
window</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>but they keep in 0[0] requests =
served&nbsp;(I don't=20
know if it is supposed to work that way).</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Thanks a lot to you all for all the =
help so=20
far!</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Gabriel =
Maffia.</FONT></DIV></BODY></HTML>

------=_NextPart_000_001A_01C1E68B.BB243740--