LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices



Reply
 
Search this Thread
Old 04-11-2004, 04:25 AM   #1
AZIMBD03
Member
 
Registered: Oct 2003
Location: Dhaka,Bangladeh
Distribution: Red Hat
Posts: 80

Rep: Reputation: 15
Red face 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?


HMM
 
Old 04-11-2004, 06:17 AM   #2
xbaez
Member
 
Registered: Mar 2004
Location: USA
Distribution: Ubuntu
Posts: 284

Rep: Reputation: 30
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
 
Old 04-13-2004, 12:22 PM   #3
AZIMBD03
Member
 
Registered: Oct 2003
Location: Dhaka,Bangladeh
Distribution: Red Hat
Posts: 80

Original Poster
Rep: Reputation: 15
Sorry ! Still I am going on that trouble....


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



 
Old 04-15-2004, 10:20 PM   #4
xbaez
Member
 
Registered: Mar 2004
Location: USA
Distribution: Ubuntu
Posts: 284

Rep: Reputation: 30
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Proxy server flodded by requests on port 53 & port 25 saurabh_sahni Linux - Security 5 04-26-2005 11:35 PM
Proxy server flodded by requests on port 53 & port 25 saurabh_sahni Linux - Networking 1 04-26-2005 04:01 PM
turn off http port 80, keep https port 443 lothario Linux - Networking 6 02-11-2005 05:06 AM
uunable to connect http other then port 80 using proxy server askjha Linux - Networking 1 06-03-2004 02:38 PM
Openned port 8080 http-proxy on Fedora mell Red Hat 1 04-20-2004 03:37 PM


All times are GMT -5. The time now is 12:32 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration