>Michael Dean wrote:
>> 
>> hi ppl
>> 
>> is it possible to redirect a plain GET request say
>> 
>> GET / HTTP/1.0
>> 
>> to another url?? ... ie. I have a redirecting perl script running with the
>> line ...
>> 
>>     s,^/$,http://proxycfg:8080/,g
>> 
>> so that it tries to redirect to the proxycfg host that will spit back the
>> proxy autoconfig for web clients using proxy autoconfig ...
>> 
>> what I've tried thus far doesn't work.
>> 
>> has anyone tried to do this sort of thing already? or does squid refuse
>> the URL that is requested before it gets to the redirector stage.
>> 
>> any ideas would be appreciated.
>> 
>> mike
>> 
>> --                                     Michael Dean
>> Email:  [EMAIL PROTECTED]  ,-_|\  UNIX Support
>> Phone:  +61 7 3247 5724        /     * Dept of Employment, Training
>>   Fax:  +61 7 3247 9111        _,-._/ and Industrial Relations
>>                                     v  http://unix/
>>   "Close my eyes and hope that it's a,
>>                                   real smooth flight, this time..."
>
>I think it _should_ be rejected at the first level parsing step before
>being passed to a redirector. I'm also fairly sure that it happens
>_after_ the redirector in squid 1.1.x (because I had a redirector crash
>from an unexpected hostless url). Squid2.x? Not sure. Pick a number.
>
>D


if that's the case, why not setup your squid as a proxy and accelerater?

set up the accelleration for the machine with the proxy.pac, and then 
slip the redirector in....

Regards
Karl
=8)

Reply via email to