Re: [squid-users] adding a parameter to a URL / Problem in the url_redirect program

From: Henrik Nordstrom <henrik_at_henriknordstrom.net>
Date: Wed, 09 Jul 2008 15:08:17 +0200

On ons, 2008-07-09 at 05:02 -0700, Shaine wrote:
> one thing i couldn't mention in the mail. my redirect program located in
> /usr/local/squid/bin/xxx.pl.
>
> And i have given permission for user squid.
>
> chown -R squid:squid /usr/local/squid
>
> In my squid.conf
>
> cache_effective_user squid
> cache_effective_group squid
>
> But slite Database lacated in a defferent location. /home/user/db.sqlite. I
> have given the root permision for the database.

Your cache_effective_user need permission to access the database.

Always test helpers using the cache_effective_user account, not root.

Regards
Henrik

Received on Wed Jul 09 2008 - 13:08:25 MDT

This archive was generated by hypermail 2.2.0 : Wed Jul 09 2008 - 12:00:03 MDT