Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 36813 invoked from network); 23 Jul 2008 06:46:09 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 23 Jul 2008 06:46:09 -0000 Received: (qmail 64643 invoked by uid 500); 23 Jul 2008 06:45:56 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 64636 invoked by uid 500); 23 Jul 2008 06:45:56 -0000 Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: users@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 64625 invoked by uid 99); 23 Jul 2008 06:45:56 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 22 Jul 2008 23:45:56 -0700 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [66.249.92.170] (HELO ug-out-1314.google.com) (66.249.92.170) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 23 Jul 2008 06:45:00 +0000 Received: by ug-out-1314.google.com with SMTP id a2so750496ugf.27 for ; Tue, 22 Jul 2008 23:45:06 -0700 (PDT) Received: by 10.67.19.13 with SMTP id w13mr178216ugi.84.1216795505699; Tue, 22 Jul 2008 23:45:05 -0700 (PDT) Received: from nino-martinez-vazquez-waels-computer-279.local ( [212.242.112.26]) by mx.google.com with ESMTPS id 32sm12209931ugf.51.2008.07.22.23.45.03 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 22 Jul 2008 23:45:04 -0700 (PDT) Message-ID: <4886D36C.7070002@jayway.dk> Date: Wed, 23 Jul 2008 08:45:00 +0200 From: Nino Saturnino Martinez Vazquez Wael User-Agent: Thunderbird 2.0.0.14 (Macintosh/20080421) MIME-Version: 1.0 To: users@httpd.apache.org References: <4884DC83.7040609@jayway.dk> <4884DCE5.4040002@gmail.com> <48857477.7090206@jayway.dk> <4885E183.4000602@gmail.com> <488624B9.9070606@jayway.dk> In-Reply-To: <488624B9.9070606@jayway.dk> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Subject: Re: [users@httpd] mod proxy & DSO errors(403 forbidden)? Okay seems it were a mismatch in setup, we got it working now.. Difference were: // not working, for sub sites ProxyPass / balancer://cluster stickysession=JSESSIONID|jsessionid nofailover=On // below are working, for sub sites ProxyPass / 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, skipping > Loaded 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 Frank >>> >>> Thanks 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.load >>>>> >>>>> >>>>> vhost 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 >>>>> >>>>> >>>>> ProxyRequests off >>>>> ServerName domain.net >>>>> >>>>> ProxyPass / balancer://cluster >>>>> stickysession=JSESSIONID|jsessionid nofailover=On >>>>> ProxyPassReverse / balancer://cluster >>>>> >>>>> >>>>> Order Deny,Allow >>>>> Allow from all >>>>> >>>>> >>>>> >>>>> >>>>> BalancerMember http://tomcatserver.net:8080 >>>>> route=jvm1 loadfactor=5 >>>>> >>>>> >>>>> SetHandler balancer-manager >>>>> Order deny,allow >>>>> Allow from all >>>>> >>>>> >>>>> >>>>> >>>>> >>>> >>>> >>>> --------------------------------------------------------------------- >>>> The official User-To-User support forum of the Apache HTTP Server >>>> Project. >>>> See for more info. >>>> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org >>>> " from the digest: users-digest-unsubscribe@httpd.apache.org >>>> For additional commands, e-mail: users-help@httpd.apache.org >>>> >>> >> >> >> --------------------------------------------------------------------- >> The official User-To-User support forum of the Apache HTTP Server >> Project. >> See for more info. >> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org >> " from the digest: users-digest-unsubscribe@httpd.apache.org >> For additional commands, e-mail: users-help@httpd.apache.org >> > -- -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 for more info. To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org " from the digest: users-digest-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org