Still not works, look how i leave it:
acl all src all
acl manager proto cache_object
acl localhost src 127.0.0.1/32
acl ps3 src 192.168.0.1/32
acl to_localhost dst 127.0.0.0/8
acl purge method PURGE
acl CONNECT method CONNECT
acl Safe_ports port 80 # http
acl Safe_ports port 8080 # ps3
http_access allow manager localhost
http_access deny manager
http_access allow purge localhost
http_access deny purge
http_access allow localhost
http_access allow ps3
icp_access allow ps3
icp_access allow all
http_port 8080
hierarchy_stoplist cgi-bin ?
access_log /var/log/squid/access.log squid
refresh_pattern ^ftp: 1440 20% 10080
refresh_pattern ^gopher: 1440 0% 1440
refresh_pattern -i (/cgi-bin/|\?) 0 0% 0
refresh_pattern (Release|Package(.gz)*)$ 0 20% 2880
refresh_pattern . 0 20% 4320
acl shoutcast rep_header X-HTTP09-First-Line ^ICY\s[0-9]
upgrade_http0.9 deny shoutcast
acl apache rep_header Server ^Apache
broken_vary_encoding allow apache
extension_methods REPORT MERGE MKACTIVITY CHECKOUT
hosts_file /etc/hosts
coredump_dir /var/spool/squid
#my settings
debug_options ALL,1 33,2
url_rewrite_program /usr/lib/squid/jesred
I have two more doubts:
Yesterday i was trying make the apache works like redirect site proxy, and i gave this command:
echo "<meta http-equiv="refresh" content="0;URL=http://10.10.167.202/">";
Before it, if i gave this command, and put in the browser's proxy of my notebook this:
http://10.10.167.202 port 80, this was redirected to the/var/www of desktop!
But now, after the echo command, it gives error, like dont have internet, if i put this proxy settign on notebook browsers!
Without proxy, the internet works fine on notebook, sharing this with desktop!
I tried too this command:
iptables -t nat -A PREROUTING -s 192.168.0.1/255.255.255.0 -p tcp --dport 80 -j REDIRECT --to-port 8080
but it make the internet on the desktop falls...
Some clue about this tips?