Is v8cgi via FastCGI possible in IIS7 and how?
Is it possible to run server-side JS in IIS7 using v8cgi via FastCGI? I already have FastCGI setup in IIS7 and know how to setup up PHP via FastCGI for IIS7 like this (http://learn.iis.net/page.aspx/246/using-fastcgi-to-host-php-applications-on-iis开发者_JS百科-7/).
I have done a quick download of v8cgi. Basically, you can follow these steps:
- Deploy v8cgi somewhere on your machine
- Add a handler mapping (like for PHP), for example for *.js files
- Use the FastCgiModule for that mapping
- The executable will be "C:[Path to your v8cgi installation]\v8cgi.exe"
- The name can be anything you like
These steps should register v8cgi.exe to be executed by IIS and FastCGI.
精彩评论