Welcome to WebmasterWorld Guest from 54.144.107.83

Forum Moderators: phranque

Message Too Old, No Replies

squid cache

syntax???

     
1:26 pm on Mar 26, 2002 (gmt 0)

Full Member

10+ Year Member

joined:Feb 24, 2002
posts:289
votes: 0


i'm running a squid cache on my machine.
it works fine in conjunction with browsers, but
when i make a request through it like this
HEAD / HTTP/1.1
Host: localhost
Proxy-Connection: close
i get a HTTP/1.0 400 Bad Request response from my squid.
if the request looks like this
HEAD [127.0.0.1...] HTTP/1.1
Host: localhost
Proxy-Connection: close
i get the requested data like usual.
the request syntax squid needs is not a standart one, is it?
there must be a way to configure it (restrict to the htt protocol
or something like that) because if i do the request through
my isp's squid cache everythng works fine using the standart request syntax
how can i configure my squid to work properly?
thanks in advance :)
2:31 pm on Mar 27, 2002 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Sept 21, 1999
posts:2141
votes: 0


As I'm sure you're aware, free Squid support is primarily via the mailing lists here [www1.is.squid-cache.org]. If no one at WebmasterWorld offers any suggestions, perhaps you should search the mail list archives or add your question to one of the mailing lists.
4:25 pm on Mar 27, 2002 (gmt 0)

Full Member

10+ Year Member

joined:Feb 24, 2002
posts:289
votes: 0


thanks Dave,
i think i don't need to configure my squid to handle a request
the common way, i have checked it and it seems all proxies
except squid can handle both types of request.
i'm working on a proxy tool so i just need to make sure any
request to a proxy will work.
since any proxy handles the request the way squid needs it
i will take that type for proxies and the common type
for direct connections as soon as i have found the RFC to
ensure that it's a standart :)
 

Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members