Linux Mac OS Programming Windows

nginx and fast-cgi – tips and tricks

How to pass full path to fast-cgi app It’s necessary to configure which parameters are passed to fast-cgi application from nginx server. For this purposes serves fastcgi_param keyword. It’s a good practice to keeps all fastcgi params together. For this purposes nginx has fastcgi.conf file. This file already contains most of useful fastcgi_param bindings. To include …

Continue Reading
Windows

How to run fastcgi and nginx on windows

Step by step guide how to configure nginx on windows…. Download and installation Download nginx package from nginx site. Unpack it and installation is done 😉 Example of fast-cgi application No create and complie fast-cgi application. (How to compile fast-cgi on windows) How to connect fast-cgi with web-server There are two ways. When web-server supports …

Continue Reading
Programming Windows

How to compile FastCGI library in Visual Studio 2010 C++

FastCGI comes with Win32 project for VisualStudio6. Unfortunately when you try to open it in VisualStudio2010 the project will be corrupted. To correctly compile it for VS2010 it’s necessary to download library sources, get patches from cybozu.co.jp site and apply it. Download library Download latest version of Development Kit here and extract it to standalone directory. Get …

Continue Reading
Linux Mac OS Programming Windows

FastCGI c++ library for all platforms (Windows, Mac and Linux)

List of existing libraries official fastcgi (http://www.fastcgi.com/drupal/node/6?q=node/21) – necessary to update win32 project fastcgi / cgi  c++ ([email protected] / cgi.sourceforge.net ) – limited windows support c++ FastCGI Protocol Driver (http://www.ohloh.net/p/libfastcgi) – POSIX only fastcgi++ ([email protected]/ / [email protected]) – only for POSIX systems fcgi Qt (https://gitorious.org/fcgi-qt-add-on) – for Qt apps cgicc (http://www.gnu.org/software/cgicc/) – no fastcgi support (although mentioned on their site) fastcgi-daemon (yandex) (https://github.com/golubtsov/Fastcgi-Daemon) – posix only …

Continue Reading