#fastcgi_pass unix:/var/run/nginx/foswiki.sock #error_log /var/log/nginx/foswiki-error.log debug Ĭlient_max_body_size 10M # Set to maximum attachment size, See also ATTACHFILESIZELIMIT This configurationĪccess_log /var/log/nginx/foswiki-access.log Įrror_log /var/log/nginx/foswiki-error.log The FCGI::ProcManager class will then take care of (re-)spawningĬonfigure nginx to contact a foswiki.fcgi process on some socket on the localhost:Įdit the file system paths ( /var/www/foswiki, /var/log/nginx) below as appropriate for your system. Have to start it yourself using the system's init process. In contrast to Apache or Lighttpd, Nginx does not control the life time of the foswiki.fcgi backend process. # Example with external FastCGI processes (running on the same host, with another user or at a remote machine) "bin-path" => "/var/www/foswiki/bin/foswiki.fcgi", "socket" => "/var/www/foswiki/working/tmp/foswiki.sock", # Example with FastCGI processes launched by the webserverĪlias.url += ( "/foswiki/bin" => "/var/www/foswiki/bin/foswiki.fcgi" ) The actual versions of the latest packages may have changed since this documentation was written.Įdit the url ( /foswiki/bin) and file system paths ( /var/www/foswiki) below Mod_fcgid is provided by default with apache2, and is recommended for simplicity of installation and configuration.īelow are some resources for the most common Linux distributions. mod_fcgid which is the newer implementation released under the GPL license and now part of the Apache Foundation.It is released under a custom non-free license but it is free of charge. mod_fastcgi which is the oldest implementation.There are two options that basicly do the same thing Debian / Ubuntu: apt-get install libfcgi-perl. See SystemRequirements ( Foswiki:System.SystemRequirements) for a detailed requiremments by server distribution. With access to apache configuration filesįastCGIEngineContrib uses a CPAN library called FCGI which is not normally distributed with Perl.This section is about how to configure FastCGIEngineContrib, considering many possible environments: It can generate a comprehensive Apache configuration for your installation. We recommend that you use the thoroughly tested Foswiki:Support.ApacheConfigGenerator for creating your apache configuration.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |