Portál AbcLinuxu, 12. května 2025 04:22
$IPTABLES -t nat -A PREROUTING -p tcp --dport 80 -j REDIRECT --to-ports 3128nebo
iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j DNAT --to 192.168.1.5:3128 iptables -t nat -A PREROUTING -i eth1 -p tcp --dport 80 -j REDIRECT --to-port 3128obojí stejnej problém Nastavení Squid:
http_port 3128 transparent
ERROR The requested URL could not be retrieved While trying to process the request: GET / HTTP/1.1 Host: www.abclinuxu.cz User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; cs; rv:1.9.0.3) Gecko/2008092417 Firefox/3.0.3 Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 Accept-Language: cs,en-us;q=0.7,en;q=0.3 Accept-Encoding: gzip,deflate Accept-Charset: windows-1250,utf-8;q=0.7,*;q=0.7 Keep-Alive: 300 Connection: keep-alive Cookie: __utma=184452854.809261671.1220737504.1225215105.1225217069.18; __utmz=184452854.1222723862.12.3.utmccn=(organic)|utmcsr=google|utmctr=apache+ov%C4%9B%C5%99en%C3%AD+active+directory|utmcmd=organic; USER=7392:-1861353565; JSESSIONID=ffmnsa0qmy1j; __utmc=184452854; __utmb=184452854 If-Modified-Since: Tue, 28 Oct 2008 18:04:29 GMT 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
SYSLOG Oct 28 20:55:03 cryptogw squid[27417]: clientReadRequest: FD 11 (192.168.1.1:50581) Invalid Request Oct 28 20:55:03 cryptogw squid[27417]: clientReadRequest: FD 11 (192.168.1.1:50582) Invalid Request Oct 28 20:55:06 cryptogw squid[27417]: clientReadRequest: FD 11 (192.168.1.1:50585) Invalid Request Oct 28 20:55:08 cryptogw squid[27417]: clientReadRequest: FD 11 (192.168.1.1:50589) Invalid Request Oct 28 20:55:09 cryptogw squid[27417]: clientReadRequest: FD 11 (192.168.1.1:50591) Invalid Request Oct 28 20:55:10 cryptogw squid[27417]: clientReadRequest: FD 11 (192.168.1.1:50594) Invalid Request Oct 28 20:55:10 cryptogw squid[27417]: clientReadRequest: FD 11 (192.168.1.1:50595) Invalid Request Oct 28 20:55:11 cryptogw squid[27417]: clientReadRequest: FD 11 (192.168.1.1:50596) Invalid Request Oct 28 20:55:11 cryptogw squid[27417]: clientReadRequest: FD 11 (192.168.1.1:50597) Invalid RequestPředem děkuji za jakoukoliv radu do života (:
httpd_accel_host virtual httpd_accel_port 80 httpd_accel_with_proxy on httpd_accel_uses_host_header onZ dotazu neni jasne ze to tam je. Norbert
Tiskni
Sdílej:
ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.