Search squid archive

Re: Changing the port on which Squid starts during compilation

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

At 11.36 25/08/2005, Joost de Heer wrote:

Hello,

I want the port on which Squid starts to be 8080. Default it's port 3128.
But I can't seem to get Squid compiled with the start-port on 8080.

What I did:
- Set the environment variable CACHE_HTTP_PORT to 8080
- ./configure --with-lots-of-options
- Checked include/autoconf.h, in it I see '#define CACHE_HTTP_PORT 8080'
- Compiled squid and started it, and it listens on 3128??

So what else do I need to change to get the default start port to 8080? I
know I can set it with http_port in the configuration, but things like
squidclient still need the -p argument then, and I wanted to avoid that.

Squid configure scripts are not perfect: you must also edit cf.data.pre and change the DEFAULT_IF_NONE value of http_port directive before make.

Regards

Guido



-
========================================================
Guido Serassio
Acme Consulting S.r.l. - Microsoft Certified Partner
Via Lucia Savarino, 1           10098 - Rivoli (TO) - ITALY
Tel. : +39.011.9530135  Fax. : +39.011.9781115
Email: guido.serassio@xxxxxxxxxxxxxxxxx
WWW: http://www.acmeconsulting.it/


[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux