Re: UNIX sockets skunkweb how-to wiki request

Jacob Smullyan <[email protected]> Wed, 23 Mar 2005 20:58:49 -0500
Newsgroups gmane.comp.web.skunkweb
Message-ID <[email protected]>
On Wed, Mar 23, 2005 at 03:46:37PM -0500, [email protected] wrote:
> I have searched the web, skunkweb mailing list archives
> and wiki for a Newbie's Guide To Unix Sockets for Skunkweb
> to no avail.  Would someone please be so kind as to add
> a "Unix sockets how-to" to the wiki?

I need a little context here.  What about UNIX sockets and SkunkWeb do
you want to know?  The relationship between the two subjects isn't
obvious to me.

The most common use of UNIX sockets in SkunkWeb is to talk the
"aecgi" (mod_skunkweb) protocol with mod_skunkweb:

  # in sw.conf
  AecgiListenPorts=['UNIX:/tmp/sw.socket:0777']

That tells the aecgi service to send the output of skunkweb to a UNIX
socket at /tmp/sw.socket, created with octal permissions 0777.

Other than that, if you were writing a custom service that plugged
into the requestHandler framework, you could make it talk over a UNIX
socket.  I remember that someone wanted to serve HTTP with the httpd
service over a UNIX socket (I don't recall offhand whether it worked).

I don't know what else would be relevant.

js

-- 
Jacob Smullyan
signature.asc (application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFCQh7ZuqamFyFXXLIRAguFAJ0eFxMv2nefu+9p5o6dGEn7J4QQCgCfW/0U
zaUZKq6oHqMX+/V75nlP5Z8=
=tOpQ
-----END PGP SIGNATURE-----