Squid Proxy Server error The request URL cannot be retrieved
Hi I'm new a newbie in linux and I've setup a Squid Proxy Server.. Squid is running ok but when I access it I got error:
The following error was encountered while trying to retrieve the URL: /
Invalid URL
Some aspect of the requested URL is incorrect.
Some possible problems are:
Missing or incorrect access protocol (should be http:// or similar)
Missing hostname
Illegal double-escape in the URL-Path
Illegal character in hostname; underscores are not allowed.
Your cache administrator is root.
-----------------------------------------------------
Below is my squid.conf
#
# Recommended minimum configuration:
#
acl manager proto cache_object
acl localhost src 127.0.0.1/32 ::1
acl to_localhost dst 127.0.0.0/8 0.0.0.0/32 ::1
# Example rule allowing access from your local networks.
# Adapt to list your (internal) IP networks from where browsing
# should be allowed
acl localnet src 10.0.0.0/8 # RFC1918 possible internal network
acl localnet src 172.16.0.0/12 # RFC1918 possible internal network
acl localnet src 192.168.0.0/16 # RFC1918 possible internal network
acl localnet src fc00::/7 # RFC 4193 local private network range
acl localnet src fe80::/10 # RFC 4291 link-local (directly plugged) machinesi
acl SSL_ports port 443
acl Safe_ports port 80 # http
acl Safe_ports port 21 # ftp
acl Safe_ports port 443 # https
acl Safe_ports port 70 # gopher
acl Safe_ports port 210 # wais
acl Safe_ports port 1025-65535 # unregistered ports
acl Safe_ports port 280 # http-mgmt
acl Safe_ports port 488 # gss-http
acl Safe_ports port 591 # filemaker
acl Safe_ports port 777 # multiling http
acl CONNECT method CONNECT
#
# Recommended minimum Access Permission configuration:
#
# Only allow cachemgr access from localhost
http_access allow manager localhost
http_access deny manager
# Deny requests to certain unsafe ports
"/etc/squid/squid.conf" 79L, 2541C
-------------------
and here are the logs:
[root@ZyXEL18 etc]# vi /etc/squid/squid.conf
[root@ZyXEL18 etc]# tail -f /var/log/squid/cache.log
2014/05/15 16:41:50| Max Swap size: 0 KB
2014/05/15 16:41:50| Using Least Load store dir selection
2014/05/15 16:41:50| Set Current Directory to /var/spool/squid
2014/05/15 16:41:50| Loaded Icons.
2014/05/15 16:41:50| Accepting HTTP connections at [::]:3128, FD 14.
2014/05/15 16:41:50| HTCP Disabled.
2014/05/15 16:41:50| Squid plugin modules loaded: 0
2014/05/15 16:41:50| Adaptation support is off.
2014/05/15 16:41:50| Ready to serve requests.
2014/05/15 16:41:51| storeLateRelease: released 0 objects
--------------
I've done so many changes in squid.conf but it did not work. I've removed those that I've added and left on what I know should work. Please help I'm running out of ideas.. thanks
|