Author Login
Post Reply
Okay so even though I think that mod http are loaded i've added the load
module statement to my vhost config:
LoadModule proxy_module /usr/lib/apache2/modules/mod_proxy.so
LoadModule proxy_balancer_module
/usr/lib/apache2/modules/mod_proxy_balancer.so
LoadModule proxy_connect_module
/usr/lib/apache2/modules/mod_proxy_connect.so
LoadModule proxy_ftp_module /usr/lib/apache2/modules/mod_proxy_ftp.so
LoadModule proxy_html_module /usr/lib/apache2/modules/mod_proxy_html.so
LoadModule proxy_http_module /usr/lib/apache2/modules/mod_proxy_http.so
error.log:
[Tue Jul 22 12:22:49 2008] [warn] module proxy_module is already loaded,
skipping
[Tue Jul 22 12:22:49 2008] [warn] module proxy_balancer_module is
already loaded, skipping
[Tue Jul 22 12:22:49 2008] [warn] module proxy_connect_module is already
loaded, skipping
[Tue Jul 22 12:22:49 2008] [warn] module proxy_ftp_module is already
loaded, skipping
[Tue Jul 22 12:22:49 2008] [warn] module proxy_html_module is already
loaded, skipping
[Tue Jul 22 12:22:49 2008] [warn] module proxy_http_module is already
loaded, skipping
[Tue Jul 22 12:22:49 2008] [notice] Apache/2.2.3 (Ubuntu) proxy_html/2.5
configured -- resuming normal operations
And I still get(error.log):
[Tue Jul 22 12:23:37 2008] [warn] proxy: No protocol handler was valid
for the URL /css/styles.css. If you are using a DSO version of
mod_proxy, make sure the proxy submodules are included in the
configuration using LoadModule.
[Tue Jul 22 12:23:37 2008] [warn] proxy: No protocol handler was valid
for the URL /css/screen.css. If you are using a DSO version of
mod_proxy, make sure the proxy submodules are included in the
configuration using LoadModule.
access.log:
myip - - [22/Jul/2008:12:23:41 +0200] "GET
/static/662b4ead78405cf75daa2df0504153a0-thumb.jpg HTTP/1.1" 403 346
"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"
myip - - [22/Jul/2008:12:23:41 +0200] "GET
/static/af3ce98ea4f5150e902946d84c63d49c-thumb.jpg HTTP/1.1" 403 346
"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"
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)
>>
>
--
-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)