access 8080 web server port through squid running on 8080
We have a squid proxy running on port 8080 and we want to allow access to a web server running on port 8080 through the squid box.
Adding port 8080 to the Safe_ports list does not resolve the problem. Please help. Thanks in advance. |
safe_ports is the right way to do it (among others of course..) what does your config actually look like now?
|
now the configuration options are (only posting relevant stuff);
http_port 8080 acl all src 0.0.0.0/0.0.0.0 acl test src 192.168.27.115-192.168.27.120/255.255.255.255 acl DBN src 192.168.0.0/255.255.224.0 acl DBN src 172.23.0.0/255.255.0.0 acl manager proto cache_object acl localhost src 127.0.0.1/255.255.255.255 acl to_localhost dst 127.0.0.0/8 acl SSL_ports port 443 acl SSL_ports port 8443 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 280 # http-mgmt acl Safe_ports port 488 # gss-http acl Safe_ports port 591 # filemaker acl Safe_ports port 777 # multiling http acl Safe_ports port 8080 # misc acl CONNECT method CONNECT |
hmm, ok looks fine. what's the corresponding access.log entries look like?
|
this is the access.log entry;
Quote:
|
well that's a valid cache miss... looks fine to me.
|
yes. but the problem is this is the only log entry i see whenever a user try to access that site. However when we access the site bypassing proxy we can see the contents of that site.
Quote:
|
no, it's says that the proxy server is going direct to that machine to fulfil the requst.
|
thanks for your reply. However since that method does not work can you please tell me an alternative way.
|
sorry? i guess you really don't understand what your own question actually is? squid is working correctly. totally fine...
|
well the thing is if squid works well (regarding port 8080) why can't i see the web page when using squid and why can i see when i bypass proxy. in both case i only type http://192.168.71.61:8080/ in the browser. I tried with IE and Firefox as well.
Thanks. |
well try viewing that page from the server machine itself, that's effectively what squid appears to be doing already...
|
All times are GMT -5. The time now is 02:27 PM. |