Re: UNIX sockets skunkweb how-to wiki request

[email protected] Thu, 24 Mar 2005 10:18:48 -0500
Newsgroups gmane.comp.web.skunkweb
Message-ID <[email protected]>
On Wed, Mar 23, 2005 at 08:58:49PM -0500, Jacob Smullyan wrote:
> 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.

I have found references to using Unix sockets with Skunkweb, however
as a Skunkweb newbie I did not know how to use them.  I looked in
the wiki, documentation and sw.conf files to find an example and
could not do so.  Hence the "newbie how-to" request.


> 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.

Excellent!  I have only to do this one thing, and nothing else,
and Skunkweb will use Unix sockets for aecgi.  Thanks for making me
a bit less of a newbie - I have no experience with Unix sockets.

     James Phillips
     http://zunzun.com



-------------------------------------------------------
This SF.net email is sponsored by Microsoft Mobile & Embedded DevCon 2005
Attend MEDC 2005 May 9-12 in Vegas. Learn more about the latest Windows
Embedded(r) & Windows Mobile(tm) platforms, applications & content.  Register
by 3/29 & save $300 http://ads.osdn.com/?ad_id=6883&alloc_id=15149&op=click