Hi,

please can you help me to realize this with oops:

cache_peer XXX.XXX.220.4 parent 80 0 no-query no-digest
acl OTHER_PROXY url_regex -i "/squid/acl/other_Proxy"
cache_peer_access XXX.XXX.220.4 allow OTHER_PROXY
cache_peer_access XXX.XXX.220.4 deny ALLREGEX_DST

In the file 'other_Proxy' are one regex per line.

I have try to set it with 'peer' keyword and with 'redir_mods' but i
can't solve the problem.

Can anybody point me to the right way please ;-)

al ;-)

---
./oops -V
oops version 1.5.22

CC=gcc

CFLAGS=-g -O2 -I/usr/include -D_REENTRANT -DLINUX -I/usr/local/include

LIBS=-lpthread -lfl  -lcrypt -ldl -L/usr/lib -ldb2 \
/usr/local/lib/libpcreposix.a /usr/local/lib/libpcre.a

#

./oopsctl stat
## --  General info   --
Version      : 1.5.22
Uptime       : 3sec, (0day(s), 0hour(s), 0min(s))
Last update  : Mon Aug  4 14:11:16 2003
Clients      : 0 (max: 0)
HTTP requests: 0
ICP  requests: 0
Total hits   : 0
Thread pool  : 1 ready to serve (out of 250 max)
Curr.req.rate: 0,00 req/sec (max: 0,00)
Tot.req.rate : 0,00 req/sec
Curr.hit.rate: 0,00 %
Tot.hit.rate : 0,00 %
Curr.icp.rate: 0,00 req/sec (max: 0,00)
## --       CPU       --
Total usage  : 0ms
Delta usage  : 0ms
Delta time   : 60000ms
Curr. CPU    : 0,00 % (0,00s+0,00u)
Aver. CPU    : 0,00 % (0,00s+0,00u)
## --    storages     --
Disks msg    : Storages checked
## -- end of storages --
## --     modules     --
accel         WWW-accelerator (URL redirector)
CustomLog     Customized access log. (Log recording)
err           Error reporting module (Error reporting)
fastredir     Fast Substring URL Redirector (URL redirector)
gigabase_db   GigaBASE API/stopper (DB Interface)
lang          National languages handling module (Output handling)
DummyLog      Dummy logging module (Log recording)
oopsctl       Oops controlling module (Independent port listener)
pam           Auth using PAM/stopper (Authentication)
passwd_file   Auth using passwd file (Authentication)
passwd_mysql  Auth using mySQL/stopper (Authentication)
passwd_pgsql  Auth using PostgreSQL/stopper (Authentication)
redir         Regex URL Redirector (URL redirector)
transparent   Transparent proxy (URL redirector)
vary          Processing 'Vary:' header (Document headers check)
wccp2         Web Cache Coordination Protocol v2.0 (Independent port
listener)
## -- end of modules  --
## --    icp peers    --
Name         : proxy.internal.at 8080 3130
Type         : PARENT
Req. sent    : 0
Answ. recvd  : 0
Hits recvd   : 0 (0,00 %)
Reqs recvd   : 0
Hits sent    : 0 (0,00 %)
Status       : UP
Name         : east.server.lan.at 3128 3131
Type         : PARENT
Req. sent    : 0
Answ. recvd  : 0
Hits recvd   : 0 (0,00 %)
Reqs recvd   : 0
Hits sent    : 0 (0,00 %)
Status       : UP
## -- end of icp peers--

egrep -v '^#' oops.cfg

nameserver 127.0.0.1

http_port       3128
icp_port        3130
userid  al

logfile         /home/al/progs/oops/oops/logs/oops.log unbuffered
accesslog       /home/al/progs/oops/oops/logs/access.log
pidfile         /home/al/progs/oops/oops/logs/oops.pid
statistics      /home/al/progs/oops/oops/logs/oops_statfile

mem_max         64m
lo_mark         8m

default-expire-value    7
ftp-expire-value        7

max-expire-value 30

last-modified-factor 5

default-expire-interval 1
icp_timeout     1000
disk-low-free   3
disk-ok-free    5
force_completion 95

maxresident 1m

insert_x_forwarded_for  yes
insert_via              yes
fetch_with_client_speed yes


acl REDIR_PROXIE urlregex include:redir_proxies acl REDIR_PROXIES urlregex .*\.internal\.at.* acl BANNER urlregex .*ad.liveperson.net.* acl ALL urlregex .*

acl_deny BANNER

stop_cache      ?
stop_cache      cgi-bin

peer            proxy.internal.at       8080 3130 {
                parent ;
                peer_access     REDIR_PROXIE REDIR_PROXIES;
                allow   dstdomain REDIR_PROXIE REDIR_PROXIES;
}

peer            east.server.lan.at      3128 3131 {
                parent ;
                peer_access     * ;
                allow   dstdomain * ;
}

local-domain lan.at internal.at

group   world   {
       # only in testlan
        networks        0/0;
        http {
                allow   dstdomain * ;
        }
}

module err {
        # error reporting module

        # template
        template /home/al/progs/oops/oops/err_template.html

        # Language to use when generate Error messages
        lang en
}

module oopsctl {
        # path to oopsctl unix socket
        socket_path     /home/al/progs/oops/oops/logs/oopsctl
        # time to auto-refresh page (seconds)
       html_refresh    300
}

module customlog {
        path    /home/al/progs/oops/oops/logs/custom1
        format  "%h->%A %l %u [%t] \"%r\" %s %b \"%{User-Agent}i\""
}


module gigabase_db {


        dbhome  /home/al/progs/oops/oops/DB
        dbname  gdburl
}

module accel {
      access                  3128
      proxy_requests          allow
      file                    /home/al/progs/oops/oops/accel-ita_maps
}
module transparent {
      myport                  3128
      broken_browsers         MSIE
}

---

=====================================================================
If you would like to unsubscribe from this list send message to
[EMAIL PROTECTED] with "unsubscribe oops-eng" in message body.
Archive is accessible on http://lists.paco.net/oops-eng/

Дати відповідь електронним листом