Redirectors

From: Richard Stagg <squid@dont-contact.us>
Date: Fri, 30 Apr 1999 14:10:09 +0100 (BST)

Hi all,

I'm trying to write a new _fast_ redirector in C: my first attempt at a
non-Perl redirector.

Basically, the program behaves okay interactively: I can give it the URL,
the IP and all the other bumph on stdin and consistently receive a correct
reply.

Having got this far, I've changed my squid.conf from
        redirect_program /squid/redirector.pl
to
        redirect_program /squid/redirect
where "redirect" is the executable compiled C program.

I start up Squid, the machine slows to a crawl, and /var/adm/syslog is
filled with "ipcCreate: /squid/redirect: (13) permission denied" messages.

This is on Slackware Linux 2.0.36 on a PII 400Mhz.

I've had a look at Squirm, trying to ascertain where the problem might be,
but without any real luck. Can anyone suggest anything else I can try?

Many thanks
Richard Stagg

---------------------------------
Richard Stagg
Internet Architect
squid@bae.co.uk
Received on Fri Apr 30 1999 - 07:15:17 MDT

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