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

From: Shaine <gsm_linux_at_yahoo.co.uk>
Date: Fri, 11 Jul 2008 02:15:48 -0700 (PDT)

Hi

ACL for url_director done. Now that also functioning properly. But I want to
ask some thing.

for instance , www.google.com , I have not defined in url_redirector ACL.
when we access google , cant we forward it directly to the web without going
to url_redirect program ?

Thank you
Shaine.

Amos Jeffries-2 wrote:
>
> Shaine wrote:
>> Hi Henrik,
>>
>> First of all i would like to thank you again for all valuable
>> informations
>> provided to me. Those were really help full for my squid integration. But
>> unfortunately there is a problem in sqlite. SO i thought its really waste
>> of
>> hanging with such a data base , switched to Mysql. Now every thing
>> working
>> fine.
>>
>> Now , i want to allow my redirect program only for specific urls to be
>> get
>> activated. Say for instance i wanted send only google via that program.
>>
>> How can i do that ? if you dont mind can you give me some examples , or
>> some helpful web urls ?
>> Can i keep that url in a txt file to be called by url_redirector ACL , if
>> it
>> is possible , i dont have to touch for squid configuration.
>
> url_rewriter_access plus a list of ACL which 'permit' certain requests
> to have their URL re-written.
>
> Amos
>
>>
>> Many thanks,
>> Shaine
>>
>>
>>
>>
>>
>>
>> Henrik Nordstrom-5 wrote:
>>> On ons, 2008-07-09 at 10:04 -0300, Marcus Kool wrote:
>>>> Shaine,
>>>>
>>>> When a program runs fine from the command line but not from a daemon,
>>>> the cause is usually the change of environment: PATH or other
>>>> environment variable, user ID....
>>>> Remember that squid is started with a very clean environment.
>>>>
>>>> I suggest to run the redirect program from at:
>>>> # su - squid
>>>> $ at now
>>>> echo "input line" | redirector > /tmp/log
>>>
>>> Better make that
>>>
>>> ( echo "input line" ; echo "another input line" ; echo "yet another
>>> input line" ) | redirector
>>>
>>> Redirecting the output is optional. at delivers it in an email
>>> otherwise.
>>>
>>> should return the correct result for all three lines.
>>>
>>>
>>> Regards
>>> Henrik
>>>
>>>
>>>
>>
>
>
> --
> Please use Squid 2.7.STABLE3 or 3.0.STABLE7
>
>

-- 
View this message in context: http://www.nabble.com/adding-a-parameter-to-a-URL-tp17776816p18399812.html
Sent from the Squid - Users mailing list archive at Nabble.com.
Received on Fri Jul 11 2008 - 09:15:56 MDT

This archive was generated by hypermail 2.2.0 : Fri Jul 11 2008 - 12:00:03 MDT