vezi daca te ajuta asta:

Tag Name httpd_accel_uses_host_header 
Usage httpd_accel_uses_host_header on|off 

Description
HTTP/1.1 requests include a Host: header, which is basically the hostname
from the URL. Squid can be an accelerator for different HTTP servers by
looking at this header. However, Squid does NOT check the value of the Host
header, so it opens a big security hole. It is recommended that this option
remain disabled unless having good understanding.

However, It is needed to enable this option if Squid run as a transparent
proxy. Otherwise, virtual servers, which require the Host: header will not
be properly cached. For detailed information, Click here

Default httpd_accel_uses_host_header off 

Caution
If Squid runs as a transparent proxy, It is needed to enable this option.
 
pentru detalii:

http://squid.visolve.com/squid24s1/httpd_accelerator.htm#httpd_accel_uses_ho
st_header
 

Mircea
> -----Original Message-----
> From: Alexandru Thomae [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, July 24, 2002 8:40 AM
> To: [EMAIL PROTECTED]
> Subject: [rlug] iptables si squid
> 
> 
> Am pus in iptables (momentan doar de teste) regula:
> -A PREROUTING -s 192.168.1.70 -p tcp -m tcp --dport 80 -j
> REDIRECT --to-port 3128
> 
> Problema este ca, in momentul in care accesez de pe calculatorul cu
> IP-ul 192.168.1.70 orice de pe net (vreau sa nu ii setez eu 
> sa iasa prin
> proxy, ci sa mearga automat), squid imi spune:
> 
> ***error starts here***
> 
> ERROR
> URL-ul cerut nu a putut fi citit
> In timp ce citeam URL-ul: /
> 
> Am intalnit urmatoarea eroare:
> 
>   a.. URL invalid
> Cateva aspecte ale URL-ului cerunt sunt incorecte. Probleme posibile:
> 
>   a.. Lipseste sau este incorect protocolul de access (ar 
> trebui sa fie
> `http://' sau ceva similar)
>   b.. Lipseste numele calculatorului
>   c.. Caracterul escape-dublu este ilegal în calea URL
>   d.. Caracter(e) ilegal în numele calculatorului; underscore (_) nu
> este acceptat
> 
> Generated Wed, 24 Jul 2002 05:24:01 GMT by anm.ro (Squid/2.4.STABLE6)
> 
> ***error ends here***
> 
> acesta este www.lug.ro
> Daca incerc sa intru pe http://www.lug.ro/mlist/, imi schimba acel URL
> invalid din "/" in "/mlist"
> 
> Banuiesc ca am gresit ceva prin configul lui squid. Daca ati mai
> intalinit careva chestia asta, please help. Macar cu un URL, ceva.
> 
> Thx,
> A.
> 
> 
> ---
> Pentru dezabonare, trimiteti mail la 
> [EMAIL PROTECTED] cu subiectul 'unsubscribe rlug'.
> REGULI, arhive si alte informatii: http://www.lug.ro/mlist/
> 
> 


***********************************************************************************************
The information contained in this message or any of its attachments may be 
confidential and is intended for the exclusive use of the addressee(s). Any 
disclosure, reproduction, distribution or other dissemination or use of this 
communication is strictly prohibited without the express permission of the sender. The 
views expressed in this email are those of the individual and not necessarily those of 
Sony or Sony affiliated companies. Sony email is for business use only. 

This email and any response may be monitored by Sony United Kingdom Limited.
(04)
***********************************************************************************************

---
Pentru dezabonare, trimiteti mail la
[EMAIL PROTECTED] cu subiectul 'unsubscribe rlug'.
REGULI, arhive si alte informatii: http://www.lug.ro/mlist/


Raspunde prin e-mail lui