Re: [squid-users] clarification about url rewriters

From: Hasanen AL-Bana <hasanen_at_gmail.com>
Date: Fri, 31 Dec 2010 17:54:16 +0300

I suppose your script is working just fine , however it would be
better if you post it here.
If your script have no problem , then I guess your HTTPS requests are
not being forwarded to Squid. like in my case only requests on port 80
(http) are being forwarded. that could be the reason for not getting
any https converted into http.

On Fri, Dec 31, 2010 at 5:47 PM, Roberto Franchesco
<robfranchesco_at_gmail.com> wrote:
> I have a question about URL rewriters that I couldn't really figure
> out from reading the faqs/wiki on the squid site...
>
> I've seen many examples of how to set up a url rewriter to handle urls
> like http://website.com and turn the urls into https://website.com
> which works very well without a hitch.
>
> My question is whether or not it is possible to use url rewriters to
> take urls like https://website.com and turn them into
> http://website.com (essentially the reverse of the many examples out
> there).
>
> I've tried doing this by editing the perl code in my url rewriter
> script, but it doesn't seem to be working. �More specifically, I've
> tried having the script handle urls that begin with https and it
> doesn't seem to pass those urls to the rewriter. �So another question
> is whether or not its possible to have url rewriters do something
> along the lines of taking: https://site1.com and turning it into
> https://site2.com ?
>
> My thoughts are that IF url rewriters can be used oh https url
> requests, then I probably have to set up my config file to tell it to
> use the url rewriters for https requests?
>
> -Rob
>
Received on Fri Dec 31 2010 - 14:54:42 MST

This archive was generated by hypermail 2.2.0 : Fri Dec 31 2010 - 12:00:04 MST