i added:
http_port 80 defaultsite=mycompany.no-ip.info:80
but i still get no reply, but the 8080 on https works fine.
i checked to see if anything else is running on 80 on the squid
machine and nothing is.
but after uploading my new squid.conf and running reconfigure i would
expect to see squid listening on port 80, but it isn't:
$ lsof -i :80
(nothing)
$ lsof -i :8080
COMMAND  PID  USER   FD   TYPE DEVICE SIZE NODE NAME
squid   3340 squid    8u  IPv4 343718       TCP *:webcache (LISTEN)
i checked my squid logs and couldn't see any requests on port 80 other
than this in cache.log:
commBind: Cannot bind socket FD 8 to *:80: (13) Permission denied
so i ps'ed to see who is running what:
$ ps aux |grep squid
squid     3338  0.0  0.5   5408  2068 ?        Ss   Nov06   0:00
/usr/local/squid/sbin/squid -D
squid     3340  0.0  6.2  48568 24356 ?        S    Nov06   1:23 (squid) -D
squid     3341  0.0  0.0   1240   280 ?        Ss   Nov06   0:00 (unlinkd)
root     21173  0.0  0.5   7512  2216 ?        Ss   13:27   0:00 sshd:
squid [priv]
squid    21177  0.0  0.6   7688  2340 ?        S    13:27   0:02 sshd:
squid@pts/0
squid    21178  0.0  0.5   3600  2128 pts/0    Ss   13:27   0:00 -bash
squid    21388  0.0  0.2   2344   908 pts/0    R+   14:33   0:00 ps aux
squid    21389  0.0  0.1   1772   600 pts/0    R+   14:33   0:00 grep squid
does squid need to run as root? i thought it had to run as the squid user?
i'm baffled....
2007/11/13, Henrik Nordstrom <henrik@henriknordstrom.net>:
> On fre, 2007-11-09 at 15:50 +0100, nick humphrey wrote:
> > i already have a working configuration listening for ssl/https
> > requests on port 8080, but i also want to forward all requests using
> > port 80 to the same server. what is the trick?
>
> Add http_port, with it's own matching defaultsite.. (assuming you want
> to use http on port 80, not https..)
>
> Regards
> Henrik
>
>
-- My sites: http://nickleus.com http://youtube.com/user/nickleus1977 http://worldphrasebook.net http://nick.c.humphrey.googlepages.com http://norgesinternettforum.no Favorite sites: http://scriptures.lds.org http://flickr.com http://youtube.com http://facebook.com http://del.icio.us http://ccmixter.org http://google.comReceived on Tue Nov 13 2007 - 06:14:19 MST
This archive was generated by hypermail pre-2.1.9 : Sat Dec 01 2007 - 12:00:02 MST