Re: [mod_backhand-devel] Patch to allow shared UnixSocketDir
Theo Schlossnagle <[email protected]> Wed, 10 Sep 2003 16:20:21 -0400
| Newsgroups | gmane.comp.apache.mod-backhand.devel |
|---|---|
| Message-ID | <[email protected]> |
Applied to HEAD. On Wednesday, Sep 10, 2003, at 15:55 US/Eastern, Mike Cramer wrote: > Some of my servers run multiple instances of apache, listening on > different ports or IPs. It seems like needing a separate UnixSocketDir > for each one is not really necessary -- the "arriba" could be > calculated by the first server started, and then read by the rest. The > only problem is the "bparent" file, which it seems like should be > unique for each server instance. > > The attached patch prepends the server_hostname and port from the > server_rec to the name, allowing more than one server to point to the > same UnixSocketDir, as long as they don't have an identical hostname > and port in their server_rec. > > The patch is against 1.2.2. > > // Theo Schlossnagle // Principal Engineer -- http://www.omniti.com/~jesus/ // Postal Engine -- http://www.postalengine.com/ // Ecelerity: fastest MTA on earth