From: Alper Oguz (alper@showtv.com.tr)
Date: Fri 08 Dec 2000 - 10:44:01 EET
Asagidaki gibi yapinca oldu, tesekkurler. Yine http_port'u 3128 80 yaptim.
----------------
20.2 How do I set it up?
First, you have to tell Squid to listen on port 80 (usually), so set the
'http_port' option:
http_port 80
Next, you need to move your normal HTTP server to another port and/or another
machine. If you want to run your HTTP server on the same machine, then it can
not also use port 80 (except see the next FAQ entry below). A common choice is
port 81. Configure squid as follows:
httpd_accel_host localhost
httpd_accel_port 81
You should now be able to start Squid and it will serve requests as a HTTP
server.
If you are using Squid has an accelerator for a virtual host system, then you
need to specify
httpd_accel_host virtual
Finally, if you want Squid to also accept proxy requests (like it used to
before you turned it into an accelerator), then you need to enable this
option:
httpd_accel_with_proxy on
-- Alper Oguz alper@showtv.com.tr.. Press any key to continue, press another key to cancel !
Listeden cikmak icin: unsub linux mesajini listeci@bilkent.edu.tr adresine gonderiniz. Lutfen Listeci icin MIME / HTML / Turkce Aksan kullanmayin. Listeci arayuzu: http://listweb.bilkent.edu.tr/yardim/bilkent/linux.html Liste arsivinin adresi: http://listweb.bilkent.edu.tr/