Re: About load balancing for HTML
Theo Schlossnagle <[email protected]> Tue, 6 Apr 2004 23:05:03 -0400
| Newsgroups | gmane.comp.apache.mod-backhand.general |
|---|---|
| Message-ID | <[email protected]> |
On Apr 6, 2004, at 10:50 PM, Keiichiro Katayama wrote: > <Directory "/opt/FLIGHTweb/web_service/web_root/htdocs"> > Options Indexes FollowSymLinks MultiViews > AllowOverride None > Order allow,deny > Allow from all > Backhand byAge > Backhand byLoad > Backhand bySession FSESSIONID= > </Directory> > <Directory "/opt/FLIGHTweb/web_service/web_root/htdocs"> > AllowOverride None > Options None > Order allow,deny > Allow from all > Backhand byAge > Backhand byRandom > Backhand byLogWindow > Backhand byLoad > </Directory> You have two Directory stanzas with the same dir name... what are you trying to accomplish? This could trigger a problem in the way that mod_backhand will try to merge the declarations. The above is confusing though. > ScriptAlias /cgi-bin/ > "/opt/FLIGHTweb/web_service/web_root/cgi-bin/" > <Directory "/opt/FLIGHTweb/web_service/web_root/cgi-bin"> > AllowOverride None > Options None > Order allow,deny > Allow from all > Backhand byAge > Backhand byLoad > Backhand bySession FSESSIONID= > </Directory> > <Directory "/opt/FLIGHTweb/web_service/web_root/cgi-bin"> > AllowOverride None > Options None > Order allow,deny > Allow from all > Backhand byAge > Backhand byRandom > Backhand byLogWindow > Backhand byLoad > </Directory> Again a double directory clause. > include /opt/FLIGHTapps/catalina/conf/mod_jk.conf Hmm... what's in there? If you are using rewrite rules, unexpected things can happen sometimes. After removing the dupped <Directory> clauses in your conf, if it still doesn't work, try moding the AddModule mod_backhand.c at the _end_ of the AddModule list or somewhere in the middle. I know that many people experience module ordering pains when trying to get mod_backhand and mod_gzip working together -- perhaps you are seeing a similar effect. // Theo Schlossnagle // Principal Engineer -- http://www.omniti.com/~jesus/ // Postal Engine -- http://www.postalengine.com/ // Ecelerity: fastest MTA on Earth