kfcgi man page on DragonFly

Man page or keyword search:  
man Server   44335 pages
apropos Keyword Search (all sections)
Output format
DragonFly logo
[printable version]

KFCGI(8)		  BSD System Manager's Manual		      KFCGI(8)

NAME
     kfcgi — FastCGI server for kcgi applications

SYNOPSIS
     kfcgi [-l backlog] [-n workers] [-p chroot] [-s sockpath] [-u sockuser]
	   [-U procuser] prog [arg0...]

DESCRIPTION
     The kfcgi server starts up workers processes of prog to handle FastCGI
     connections.  By default, it opens the socket /var/www/run/httpd.sock in
     mode 0660 under the current user and group, changes to a file-system jail
     in /var/www, then starts 3 workers executing prog, which must exist rela‐
     tive to the file-system jail root.	 The arguments are as follows:

     -l backlog
	     The connection backlog.  If unspecified or zero, this is set to
	     the value of -n.  If too small, the web-server will not be able
	     to pass in new connections.

     -n workers
	     The number of workers >1.

     -p chroot
	     Location of file-system jail.  This is mandatory: use the root
	     directory if you insist on being insecure.

     -s sockpath
	     Alternative socket path.

     -u sockuser
	     The user in whose name (user and group) the socket is created.

     -U procuser
	     The user in whose name the process is dropped.

EXIT STATUS
     The kfcgi utility exits 0 on success, and >0 if an error occurs.

EXAMPLES
     On OpenBSD, the default user for the web server is “www”.	Assuming we
     have a server that doesn't need any files, we can run the following to
     keep it in a safe jail:

	   # kfcgi -u www -U www -- /fcgi-bin/prog

     This will execute /fcgi-bin/prog within the default file-system jail of
     /var/www as user “www”.  It will create the default socket
     /var/www/run/httpd.sock in mode 0660 as user “www”.

SEE ALSO
     kcgi(3)

BSD				April 29, 2024				   BSD
[top]

List of man pages available for DragonFly

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net