Re: Tux and multiple webservers?
"Michael T. Halligan" <[email protected]>
| Newsgroups | gmane.network.tux |
|---|---|
| Message-ID | <[email protected]> |
Hmm. Ok Grogginess.. More thoughts here.. What I really need is to have multiple instances of TUX, not just tux listening on two ports.. We keep our app running in multiple instances of apache, so when we have to push changes to a certain instance, we don't have to restart the whole site, we can do it one instance at a time.. so I need to say have tux listen on port 8080 and pull data from apache on port 9080, as well as have tux listen on port 8081 and pull data from apache port 9081, etc.. Is there a way to do this? On Sun, 3 Nov 2002, Bill Marrs wrote: = = >Is it possible to run tux on multiple ports? = = Yes. = = Basically, you need to fill the /proc file with the IP:port (as a URL), = like so: = = echo http://192.168.0.13:80 >> /proc/net/tux/0/listen/0 = = ...or if you have 2 CPUs, it would be like this: = = echo http://192.168.0.13:80 >> /proc/net/tux/0/listen/0 = echo http://192.168.0.13:80 >> /proc/net/tux/1/listen/0 = = = Where I use "80", you can use your port number. = = I'm a little fuzzy on setting one tux up to respond to multiple IPs/ports, = but I suspect it's all related to this file (perhaps you can put more than = one URL in the file?) = = -bill = = = = _______________________________________________ = tux-list mailing list = [email protected] = https://listman.redhat.com/mailman/listinfo/tux-list = -- --------------------------- Michael T. Halligan Chief Geek Halligan Infrastructure Designs. 2250 Jerrold Ave #11 San Francisco, CA 94124 (415) 824.4453