Java Mailing List Archive

http://www.apache-httpd.com/

Home » users.httpd »

Re: [users@httpd] mod proxy & DSO errors(403 forbidden)?

Nino Saturnino Martinez Vazquez Wael

2008-07-22

Replies: Find Java Web Hosting

Author LoginPost Reply
Sure here it are, I get the warnings since I also tried adding the
loadmodule directive to the vhost config:

oot@(protected)
[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@(protected):~#


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
>>>>
>>>> <VirtualHost *:80>
>>>>     ProxyRequests off
>>>>     ServerName domain.net
>>>>
>>>>     ProxyPass / balancer://cluster
>>>> stickysession=JSESSIONID|jsessionid nofailover=On
>>>>     ProxyPassReverse / 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@(protected)
>>>  "  from the digest: users-digest-unsubscribe@(protected)
>>> For additional commands, e-mail: users-help@(protected)
>>>
>>
>
>
> ---------------------------------------------------------------------
> 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@(protected)
>  "  from the digest: users-digest-unsubscribe@(protected)
> For additional commands, e-mail: users-help@(protected)
>

--
-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@(protected)
 "  from the digest: users-digest-unsubscribe@(protected)
For additional commands, e-mail: users-help@(protected)

©2008 apache-httpd.com - Jax Systems, LLC, U.S.A.