[squid-users] clarification about url rewriters

From: Roberto Franchesco <robfranchesco_at_gmail.com>
Date: Fri, 31 Dec 2010 09:47:47 -0500

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:47:53 MST

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