Apache Server configuration support - Re: Facing Problem While configuring Proxy Cache in httpd in Red Hat Linux with 'Cache

This is Interesting: Free IT Magazines  
Home > Archive > Apache Server configuration support > July 2006 > Re: Facing Problem While configuring Proxy Cache in httpd in Red Hat Linux with 'Cache





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Re: Facing Problem While configuring Proxy Cache in httpd in Red Hat Linux with 'Cache
HansH

2006-07-28, 1:28 pm

"Mrinmoy" <mrinmoy.g@gmail.com> schreef in bericht
news:1154070673.232247.139100@m79g2000cwm.googlegroups.com...
> While configuring Proxy Cache I di the following
>
> <IfModule mod_proxy.c>
> ProxyRequests On
>
> <Directory proxy:*>
> Order deny,allow
> Deny from all
> Allow from 10.0.0
> </Directory>
> ProxyVia Full
>
> CacheRoot "/etc/httpd/proxy"
> CacheSize 5
> CacheGcInterval 4
> CacheMaxExpire 24
> CacheLastModifiedFactor 0.1
> CacheDefaultExpire 1
>
> </IfModule>
>
>
> But when I restart my server I get the error:Invalid command
> 'CacheRoot', perhaps mis-spelled or defined by a module not included in
> the server configuration

Check your config -and its includes- for loadmodule directives.
Apache2 requires you to load _all_ of these
mod_proxy
mod_proxy_http
mod_cache
mod_disk_cache
where version 1.3 only needed
mod_proxy

Rather then '<Directory proxy:*>' I'ld use '<proxy>', that might be another
change in version2.

For more details readingstarts here
http://httpd.apache.org/docs/2.0/mo...y.html#examples


HansH


Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com