On Sat, Feb 02, 2019 at 12:20:03PM +0100, Daniel Gracia wrote: > Hi there! > > httpdd FastCGI interface can connect seamlessly to a local TCP port, > but this is not documented on the man page.
Thanks for pointing this out. I worked with jmc on rewording the fastcgi socket description a bit. > > Went to the source and found the syntax to be a little awkward (maybe > a quick fix?). Anyway, allowed me running flask/flup/bottle pretty > straightforward. > > Regards! > > Index: usr.sbin/httpd/httpd.conf.5 > =================================================================== > RCS file: /cvs/src/usr.sbin/httpd/httpd.conf.5,v > retrieving revision 1.101 > diff -u -p -u -p -r1.101 httpd.conf.5 > --- usr.sbin/httpd/httpd.conf.5 20 Jun 2018 16:43:05 -0000 1.101 > +++ usr.sbin/httpd/httpd.conf.5 2 Feb 2019 11:03:48 -0000 > @@ -278,12 +278,16 @@ will neither display nor generate a dire > Enable FastCGI instead of serving files. > The > .Ar socket > -is a local path name within the > +can be a local path name within the > .Xr chroot 2 > root directory of > .Xr httpd 8 > -and defaults to > -.Pa /run/slowcgi.sock . > +(defaults to > +.Pa /run/slowcgi.sock > +). Starting with colon, > +.Ar socket > +can specify a port number that will connect to INADDR_LOOPBACK > +address. > .Pp > The FastCGI handler will be given the following variables: > .Pp > -- I'm not entirely sure you are real.