[squid-users] Redirect site.ca to site.qc.ca

Sebastien.Boulianne at cpu.ca Sebastien.Boulianne at cpu.ca
Thu Oct 15 20:54:11 UTC 2015


Thanks for your answer.

If I want to do a redirection from http to http, do I need to use a url_rewrite_program or can I use the deny_info 302:.... ?


-----Message d'origine-----
De : squid-users [mailto:squid-users-bounces at lists.squid-cache.org] De la part de Eliezer Croitoru
Envoyé : 14 octobre 2015 18:43
À : squid-users at lists.squid-cache.org
Objet : Re: [squid-users] Redirect site.ca to site.qc.ca


It depends. and also squid has the capability to redirect traffic without Redirectors and the recommendation is still staying that if you can use some variation of squid settings to result a redirection such as deny_info use it instead of an external helper.

It is very much depends on if the services are being served from the same squid instance or that one domain is on another server while the other is served by a squid(as a reverse proxy).
Once you answer the above question there is a chance you will get an answer.


On 14/10/2015 23:33, Antony Stone wrote:
> On Wednesday 14 October 2015 at 20:33:10, Sebastien.Boulianne at cpu.ca wrote:
>> Hi,
>> How do you recommend me to configure Squid to redirect request on 
>> example.ca to example.qc.ca ?
> My personal recommendation would be to use a search engine such as 
> Google to look for information about "Squid" and "redirect" in the 
> hopes of finding that someone has created a helpful and thorough piece 
> of documentation such as 
> http://wiki.squid-cache.org/Features/Redirectors
> If, however, you have already completed this step, and found that it 
> didn't help, then by all means tell us what you tried and what went 
> wrong (with log reports where relevant).
> Regards,
> Antony.

squid-users mailing list
squid-users at lists.squid-cache.org

More information about the squid-users mailing list