[squid-users] site http://www.domain.cpu.qc.ca work BUT http://domain.cpu.qc.ca DONT WORK

Sebastien.Boulianne at cpu.ca Sebastien.Boulianne at cpu.ca
Mon Oct 19 20:30:56 UTC 2015


Hi again,

Thanks you very much for your prompt answer.
@Yuri: Before I switched to Squid, twice addresses pointed to the same page.
I used a TMG and it worked perfectly.

@Anthony: Yes, I expecting the results from the two accesses to be the same.
Its what I ask since the beginning ;)

Sébastien Boulianne

-----Message d'origine-----
De : squid-users [mailto:squid-users-bounces at lists.squid-cache.org] De la part de Antony Stone
Envoyé : 19 octobre 2015 16:17
À : squid-users at lists.squid-cache.org
Objet : Re: [squid-users] site http://www.domain.cpu.qc.ca work BUT http://domain.cpu.qc.ca DONT WORK

On Monday 19 October 2015 at 19:54:23, Sebastien.Boulianne at cpu.ca wrote:

> If I replace the "acl cpuwebacl dstdomain www.cpu.qc.ca" by "acl 
> cpuwebacl dstdomain cpu.qc.ca", I got a error 403.

Are you expecting the results from the two accesses to be the same?

If I enter http://www.cpu.qc.ca into my browser (no proxy involved) I get a webpage talking about "maximize your IT value".

If instead I enter http://cpu.qc.ca into the same browser, I get an error 404 "Fichier ou répertoire introuvable."

So, are you certain that http://cpu.qc.ca should actually be available for Squid to fetch?


Antony.

> -----Message d'origine-----
> De : squid-users [mailto:squid-users-bounces at lists.squid-cache.org] De la
> part de Antony Stone Envoyé : 19 octobre 2015 13:36
> À : squid-users at lists.squid-cache.org
> Objet : Re: [squid-users] site http://www.domain.cpu.qc.ca work BUT
> http://domain.cpu.qc.ca DONT WORK
> 
> On Monday 19 October 2015 at 19:27:37, Sebastien.Boulianne at cpu.ca wrote:
> > 1445275480.152      5 ............ TCP_MISS/200 9269 GET
> > http://www.cpu.qc.ca/ - FIRSTUP_PARENT/172.20.253.5 text/html
> > 
> > 1445275241.374      0 ............ TCP_DENIED/403 4106 GET
> > http://cpu.qc.ca/ - HIER_NONE/- text/html 1445275242.018      0
> > 
> > cache_peer cpu.qc.ca parent 80 0 no-query originserver name=cpuwebwww
> > acl cpuwebacl dstdomain www.cpu.qc.ca http_access allow www80
> > cpuwebacl cache_peer_access cpuwebwww allow www80 cpuwebacl
> > cache_peer_access cpuwebwww deny all
> > 
> > Why ?
> > 
> > Anyone can explain me that?
> 
> Er, look at your "acl cpuwebacl" line?
> 
> 
> Antony.

-- 
I love deadlines.   I love the whooshing noise they make as they go by.

 - Douglas Noel Adams

                                                   Please reply to the list;
                                                         please *don't* CC me.
_______________________________________________
squid-users mailing list
squid-users at lists.squid-cache.org
http://lists.squid-cache.org/listinfo/squid-users


More information about the squid-users mailing list