Re: [squid-users] how to redirect from squid to https

From: robert rottermann <robert@dont-contact.us>
Date: Wed, 30 Nov 2005 05:47:42 +0100

Mark,
thank you for your answer.
please find the requested information at the end of this mail.
Mark Elsen wrote:
> On 11/29/05, Robert Rottermann <robert@redcor.ch> wrote:
>
>> Hello there,
>> sorry if I ask a thumb question. I am rather new to squid..
>>
>> I have the need to redirect some URLs to use https. how can I do that?
>>
>> My scenario:
>> I am using an application server (Zope) in an intranet.
>> In front of It I use squid as a cache.
>> People need to login to use the app servers services.
>> This login should be done trough https, all the rest should go trough http.
>>
>> I have a redirector written in python that handles all redirects.
>> When the system redirects to https://mysite.ch/login_ ...
>> I get an error saying that squid does not support some protocols.
>>
>> ...
>>
>
> Please post the full error message as seen in the browser and or cache.log.
> Check access.log for the specific URI tried too.
>
> M.
>
>

  ERROR

    The requested URL could not be retrieved

------------------------------------------------------------------------

While trying to retrieve the URL:
https://secure.fh-aargau.ch/login/loginForm.aspx?

The following error was encountered:

    * * Unsupported Request Method and Protocol *

Squid does not support all request methods for all access protocols. For
example, you can not POST a Gopher request.

Your cache administrator is webmaster <mailto:webmaster>.

------------------------------------------------------------------------
Generated Wed, 30 Nov 2005 04:39:34 GMT by izar.dmz.fh-aargau.ch
(squid/2.5.STABLE5)

these are the entries in the access log:
1133325864.379 194 80.218.115.254 TCP_MISS/400 1451 GET
http://intranet.fh-aargau.ch/login_form - DIRECT/147.86.128.52 text/html
1133325864.739 360 80.218.115.254 TCP_HIT/200 3508 GET
http://intranet.fh-aargau.ch/favicon.ico - NONE/- image/x-icon
1133325864.784 8 80.218.115.254 TCP_HIT/200 3508 GET
http://intranet.fh-aargau.ch/favicon.ico - NONE/- image/x-icon
Received on Tue Nov 29 2005 - 21:48:04 MST

This archive was generated by hypermail pre-2.1.9 : Thu Dec 01 2005 - 12:00:10 MST