Okay seems it were a mismatch in setup, we got it working now.. Difference were: // not working, for sub sitesProxyPass / balancer://cluster stickysession=JSESSIONID|jsessionid nofailover=On
// below are working, for sub sitesProxyPass / balancer://cluster/ stickysession=JSESSIONID|jsessionid nofailover=On
Nino Saturnino Martinez Vazquez Wael wrote:
Sure here it are, I get the warnings since I also tried adding the loadmodule directive to the vhost config:oot@myserver:~# apache2ctl -M[Tue Jul 22 20:16:52 2008] [warn] module proxy_module is already loaded, skipping [Tue Jul 22 20:16:52 2008] [warn] module proxy_balancer_module is already loaded, skipping [Tue Jul 22 20:16:52 2008] [warn] module proxy_connect_module is already loaded, skipping [Tue Jul 22 20:16:52 2008] [warn] module proxy_ftp_module is already loaded, skipping [Tue Jul 22 20:16:52 2008] [warn] module proxy_html_module is already loaded, skipping [Tue Jul 22 20:16:52 2008] [warn] module proxy_http_module is already loaded, skippingLoaded Modules: core_module (static) log_config_module (static) logio_module (static) mpm_worker_module (static) http_module (static) so_module (static) alias_module (shared) auth_basic_module (shared) authn_file_module (shared) authz_default_module (shared) authz_groupfile_module (shared) authz_host_module (shared) authz_user_module (shared) autoindex_module (shared) cache_module (shared) cgid_module (shared) dir_module (shared) disk_cache_module (shared) env_module (shared) mem_cache_module (shared) mime_module (shared) negotiation_module (shared) proxy_module (shared) proxy_ajp_module (shared) proxy_balancer_module (shared) proxy_connect_module (shared) proxy_ftp_module (shared) proxy_html_module (shared) proxy_http_module (shared) setenvif_module (shared) status_module (shared) Syntax OK root@myserver:~# Frank Gingras wrote:Nino,Your error definitely indicates that it's not loaded. Let's run apache2ctl / apache2 -M, and see what it says.Nino Saturnino Martinez Vazquez Wael wrote:Hi FrankThanks for the quick answer, but does'nt it mean when the module are in mods-enabled, it are loaded? Please see the contents of mods-enabled below..Frank Gingras wrote:Nino, Please load the mod_proxy_html module. Nino Saturnino Martinez Vazquez Wael wrote:I get a error about DSO(stating that I have to enable a proxy submodule), it's there for all sub sites, root passes without problems. I have enabled all the proxy modules. Whats wrong?Error msg:[Mon Jul 21 20:40:54 2008] [notice] Apache/2.2.3 (Ubuntu) proxy_html/2.5 mod_ssl/2.2.3 OpenSSL/0.9.8c configured -- resuming normal operations... ....[Mon Jul 21 20:45:59 2008] [warn] proxy: No protocol handler was valid for the URL /static/f5ffa9029c78c03cdf54c3b0d4999417-thumb.jpg. If you are using a DSO version of mod_proxy, make sure the proxy submodules are included in the configuration using LoadModule. [Mon Jul 21 20:45:59 2008] [warn] proxy: No protocol handler was valid for the URL /css/images/pages-forward.gif. If you are using a DSO version of mod_proxy, make sure the proxy submodules are included in the configuration using LoadModule.Access Log:ip - - [21/Jul/2008:20:45:59 +0200] "GET /static/f5ffa9029c78c03cdf54c3b0d4999417-thumb.jpg HTTP/1.1" 403 375 "http://domain.net/" "Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-US; rv:1.8.1.16) Gecko/20080702 Firefox/2.0.0.16" ip - - [21/Jul/2008:20:45:59 +0200] "GET /css/images/pages-forward.gif HTTP/1.1" 403 354 "http://domain.net/" "Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-US; rv:1.8.1.16) Gecko/20080702 Firefox/2.0.0.16"heres the contents of mods-enabled:alias.load authz_groupfile.load cache.load dir.load mime.load proxy_balancer.load proxy_http.load status.load auth_basic.load authz_host.load cgid.conf disk_cache.load negotiation.load proxy_connect.load setenvif.load authn_file.load authz_user.load cgid.load env.load proxy.load proxy_ftp.load ssl.conf authz_default.load autoindex.load dir.conf mem_cache.load proxy_ajp.load proxy_html.load ssl.loadvhost config: NameVirtualHost *:80 ErrorLog /var/log/apache2/error.log # Possible values include: debug, info, notice, warn, error, crit, # alert, emerg. LogLevel warn CustomLog /var/log/apache2/access.log combined ServerSignature On <VirtualHost *:80> ProxyRequests off ServerName domain.netProxyPass / balancer://cluster stickysession=JSESSIONID|jsessionid nofailover=OnProxyPassReverse / balancer://cluster <Proxy *> Order Deny,Allow Allow from all </Proxy> <Proxy balancer://cluster>BalancerMember http://tomcatserver.net:8080 route=jvm1 loadfactor=5</Proxy> <Location /balancer-manager> SetHandler balancer-manager Order deny,allow Allow from all </Location> </VirtualHost>---------------------------------------------------------------------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: users-unsubscribe@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx---------------------------------------------------------------------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: users-unsubscribe@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx
-- -Wicket for love Nino Martinez Wael Java Specialist @ Jayway DK http://www.jayway.dk +45 2936 7684 --------------------------------------------------------------------- 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: users-unsubscribe@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx