开发者

Is v8cgi via FastCGI possible in IIS7 and how?

开发者 https://www.devze.com 2023-02-03 05:07 出处:网络
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/2

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消