Re: [squid-users] Advice for redirect/accelerate setup

From: Sjaak Nabuurs <sjaak@dont-contact.us>
Date: Mon, 19 May 2003 10:18:52 +0200

Thanks

Yep now I understand how it works, but I get a error on >> #
ParseconfigFile: unrecognized line 2 cache_port 80
I read the man pages but I can't find command like cache_port 80 what should
it be ??

>
> # Set up acceleration on port 80
> cache_port 80
> httpd_accel_host your.main.domain
> httpd_accel_port 80
> httpd_accel_uses_host_header on
> httpd_accel_with_proxy on
>
> # Allow cachemgr access
> acl cachemgr protocol cache_object
> acl managers src 127.0.0.1
> http_access allow cachemgr managers
> http_access deny cachemgr
>
> # Allow manager stations to PURGE content from the accelerator
> acl PURGE method PURGE
> http_access allow PURGE managers
> http_access deny PURGE
>
> # Allow access to accelerated servers
> acl myservers dst ip.of.server.1 ip.of.server.2 ...
> acl HTTP protocol HTTP
> acl port80 port 80
> http_access allow HTTP myservers port80
>
> # Deny all other uses of the accelerator
> http_access deny all
>
> # Cache configuration
> cache_dir ...
> cache_dir ...
> cache_dir ...
>
> # Tunings
> half_closed_clients off
> range_offset_limit -1
> ...
Received on Mon May 19 2003 - 02:21:14 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:16:44 MST