Search squid archive

Re: ERR_INVALID_REQ - Invalid Request

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



craig@px-cl-1:~$ squid -v
Squid Cache: Version 2.6.STABLE1
configure options: '--prefix=/usr' '--exec_prefix=/usr' '--bindir=/usr/sbin'
'--sbindir=/usr/sbin' '--libexecdir=/usr/lib/squid' '--sysconfdir=/etc/squid'
'--localstatedir=/var/spool/squid' '--datadir=/usr/share/squid'
'--enable-async-io' '--with-pthreads' '--enable-storeio=ufs,aufs,diskd,null'
'--enable-linux-netfilter' '--enable-linux-proxy' '--enable-arp-acl'
'--enable-epoll' '--enable-removal-policies=lru,heap' '--enable-snmp'
'--enable-delay-pools' '--enable-htcp' '--enable-cache-digests'
'--enable-underscores' '--enable-referer-log' '--enable-useragent-log'
'--enable-auth=basic,digest,ntlm' '--enable-carp' '--with-large-files'
'i386-debian-linux' 'build_alias=i386-debian-linux'
'host_alias=i386-debian-linux' 'target_alias=i386-debian-linux'

That is what I get when I try it with squid -v on my Ubuntu box
Angela Burrell wrote:
> Hi Adrian,
> 
> Thank you for your reply.
> 
> I have Ubuntu Edgy and I installed squid with apt-get. Is there a way to
> tell what options were used to configure it?
> 
> Thanks!
> 
> Angela
> 
> -----Original Message-----
> From: Adrian Chadd [mailto:adrian@xxxxxxxxxxxxxxx]
> Sent: March 1, 2007 5:10 PM
> To: Angela Burrell
> Cc: squid users
> Subject: Re:  ERR_INVALID_REQ - Invalid Request
> 
> 
> On Thu, Mar 01, 2007, Angela Burrell wrote:
> 
> Transparent redirection:
> 
>> This is the line in my firewall that redirects the HTTP requests from port
>> 80 to port 3328:
>> iptables -t nat -A PREROUTING -i eth1 -p tcp --dport 80 -j
>> REDIRECT --to-port 3328
>>
>> When I comment out this line, clients on the LAN can get through to the
>> Internet. When the above line is implemented, we get the following error
> in
>> all browsers, to all hosts. ERR_INVALID_REQ
>>
>> The following error was encountered:
>> Invalid Request
>> Some aspect of the HTTP Request is invalid. Possible problems:
>> Missing or unknown request method
>> Missing URL
>> Missing HTTP Identifier (HTTP/1.0)
>> Request is too large
>> Content-Length missing for POST or PUT requests
>> Illegal character in hostname; underscores are not allowed
>> Your cache administrator is webmaster.
>>
>>
>>
>>
>> Generated Wed, 28 Feb 2007 22:49:09 GMT by squid (squid/2.6.STABLE1)
>>
>> Here is my squid.conf file, hoping it will help.
>> ############################
>> http_port 3328
> 
> You need to add 'transparent' to this line, ie:
> 
> http_port 3328 transparent
> 
> And make sure you've compiled squid with --enable-linux-netfilter .
> 
> (And you also should upgrade, there's quite a few nasty bugs between
> squid-2.6.STABLE1 and
> Squid-2.6.STABLE9.)
> 
> 
> 
> 
> Adrian
> 
> 
> 
> 


-- 
Craig Van Tassle
Network Support
E-Mail: cvantassle@xxxxxxxxxxxx
Cell: 815-276-3075
8200 Ridgefield Road
Crystal Lake, IL 60012
Chemtool, INC


[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux