LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   HTTP port and Proxy port problem (https://www.linuxquestions.org/questions/linux-networking-3/http-port-and-proxy-port-problem-168709/)

AZIMBD03 04-11-2004 03:25 AM

HTTP port and Proxy port problem
 
I have configured apache web server and squid proxy on my RH 8.0
in same PC.proxy port 8080 and HTTP port80.

Both are going fine but when I am trying to brows my web server by this proxy setting on my browser then no page displayed.But when I set "autometic proxy detect" then i see my web server page.


Please any body help me what can I do here?


:o HMM:Pengy:

xbaez 04-11-2004 05:17 AM

iptables -t nat -A PREROUTING -p TCP --dport $squid_port -j REDIRECT --to-port $apache_port

were $squid_port will be 80
and $apache_port will be 81

Please let me know if it helped

AZIMBD03 04-13-2004 11:22 AM

Sorry ! Still I am going on that trouble....


Let me know more...if you would help me



:o :Pengy:

xbaez 04-15-2004 09:20 PM

1) go to squid-cacher.org and register to their mailing list
2) do some reading at squid-cache.org or search at Google for specific info you need (ex: httpd accelrator + Squid )
3) you need to put HTTP on port 81, and Squid on port 80
Then Squid will work as an httpd accelerator and as a proxy for your site

http://www.squid-cache.org/Doc/FAQ/FAQ-17.html


All times are GMT -5. The time now is 02:22 PM.