|
| "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
|
|