Re: [squid-users] Overwrite an URL containing an IP when it is requested with a custom Host header

2019-10-17 Thread jl
Thanks both for your replies. >>> Or for this: >>> curl -v -k -x IP:PORT http://192.121.151.106/doc/search/ -H "Host: >>> erlang.org" >>> >>> to return "HTTP/1.1 200 OK" instead of "HTTP/1.1 404 Not Found" > >That one is not a good idea. The origin server is producing that 404, >nothing to d

[squid-users] Overwrite an URL containing an IP when it is requested with a custom Host header

2019-10-16 Thread jl
Hi, It's possible to configure Squid to overwrite an URL containing an IP when it is requested with a custom Host header passed by the client when the Host header resolves to the IP in the URL? For example for this: curl -v -k -x IP:PORT http://34.201.191.134/headers -H "Host: httpbin.org" to re

Re: [squid-users] Cache Permission Errors

2015-08-24 Thread JL
the > same as those of the cache dirs?. > > That is a way to check for sure what user it is running under. I was just > compiling the latest 3.5.x when it would complain, and I had forgotten to > compile it with --with-default-user=squid. > > > > On 08/24/2015 04:05 PM, JL wr

[squid-users] Cache Permission Errors

2015-08-24 Thread JL
Hi, Sorry if this is a duplicate message, I am not sure it went through initially. I am having an issue with my caching drives that I can't seem to pinpoint the problem. I have 4 drives to be used for caching, they are ext3 filesystems mounted like so. I am running CentOS 7. /dev/sde1 on /var/spo

[squid-users] Cache Drive Permission Issues

2015-08-21 Thread JL
Hi, I am having an issue with my caching drives that I can't seem to pinpoint the problem. I have 4 drives to be used for caching, they are ext3 filesystems mounted like so. I am running CentOS 7. /dev/sde1 on /var/spool/squid4 type ext3 (rw,noatime,seclabel,data=ordered) /dev/sdd1 on /var/spool/