<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>Instalar Mono + NginX en Windows</title>
<description>En este hilo voy a explicar paso a paso como instalar nginx con soporte para ASP.Net usando mono y FastCGI para usarlo como servidor de pruebas local. Cabe recalcar que es la primera vez que voy a manipular Nginx y ruego paciencia para tener el tiempo de ir publicando los pasos poco a poco.

Adelanto que usaré la version NginX for windows 0.6.36 que pueden descargar aqui http://cli.gs/636e y va a ser instalado en un windows xp professional sp3. Usaré tambien la version para windows de mono www.mono-project.com.

Sin mas comienzo con las pruebas y apenas tenga listos los pasos a seguir voy publicandolos aqui.</description><link>http://forum.nginx.org/read.php?19,2268,2268#msg-2268</link><lastBuildDate>Thu, 23 May 2013 18:49:34 -0400</lastBuildDate>
<generator>Phorum 5.2.16</generator>
<item>
<guid>http://forum.nginx.org/read.php?19,2268,3983#msg-3983</guid>
<title>Re: Instalar Mono + NginX en Windows</title><link>http://forum.nginx.org/read.php?19,2268,3983#msg-3983</link><description><![CDATA[Hola, me gustaria ver los pasos de instalar, si los tenga. Hoy yo trate hacer esto por muchas horas sin exito. Lo siento, mi espanol no es buena. Aqui esta una descripcion de mi problema en ingles.<br />Gracias,<br />Eric<br /><br />*****<br />I am struggling to get mono's fastcgi server (fastcgi-mono-server2) to work with nginx, on a Windows XP box.<br />Does anyone have an example of a successful configuration?<br /><br />I have tried many things but cannot get it to work. I suspect it may be a problem with DOS vs UNIX style directory naming somewhere in the process.<br /><br />This is the relevant part of my nginx.conf file<br />(hard-coding the SCRIPT_FILENAME to a known file for the moment):<br /><br />server {<br />listen 80;<br />server_name localhost;<br /><br />root /www/html/;<br />index index.html index.htm index.php index.aspx default.aspx;<br /><br /># pass ASP scripts to FastCGI server listening on 127.0.0.1:9000<br />location ~ \.(aspx|asmx|ashx|asax|ascx|soap|rem|axd|cs|config|dll)$ {<br />fastcgi_pass 127.0.0.1:9000;<br />fastcgi_param SCRIPT_FILENAME c:\\www\\html\\asp\\test\\index2.aspx;<br />include fastcgi_params;<br />}<br />...<br />}<br /><br />And this is how I am launching fastcgi-mono-server2:<br /><br />&quot;C:\Program Files\Mono-2.4.2.1\lib\mono\2.0\fastcgi-mono-server2&quot;<br />/socket=tcp:127.0.0.1:9000<br />/loglevels=All<br />/logfile=&quot;C:\Program Files\nginx-0.8.4\logs\mono.log&quot;<br />/root=&quot;C:\www\html\asp\test&quot;<br />/applications=/:.<br />/appconfigdir=.<br /><br /><br />The nginx error log says:<br /><br />2009/07/10 18:54:16 [error] 1116#3116: *1 WSARecv() failed (10054: An existing connection was forcibly closed by the remote host) while reading response header from upstream, client: 127.0.0.1, server: localhost, request: &quot;GET /asp/test/index2.aspx HTTP/1.1&quot;, upstream: &quot;fastcgi://127.0.0.1:9000&quot;, host: &quot;localhost&quot;<br /><br /><br />The fastcgi log file outputs the following.<br /><br />[2009-07-10 18:53:35Z] Debug fastcgi-mono-server2<br />[2009-07-10 18:53:36Z] Debug Listening on port: 127.0.0.1<br />[2009-07-10 18:53:36Z] Debug Listening on address: 9000<br />[2009-07-10 18:53:36Z] Debug Root directory: C:\www\html\asp\test<br />[2009-07-10 18:53:36Z] Debug Max connections: 1024<br />[2009-07-10 18:53:36Z] Debug Max requests: 1024<br />[2009-07-10 18:53:36Z] Debug Multiplex connections: False<br />[2009-07-10 18:53:45Z] Debug Accepting an incoming connection.<br />[2009-07-10 18:53:45Z] Notice Beginning to receive records on connection.<br />[2009-07-10 18:53:45Z] Debug Record received. (Type: BeginRequest, ID: 1, Length: 8)<br />[2009-07-10 18:53:45Z] Debug Record received. (Type: Params, ID: 1, Length: 812)<br />[2009-07-10 18:53:45Z] Debug Record received. (Type: Params, ID: 1, Length: 0)<br />[2009-07-10 18:53:45Z] Debug Read parameter. (SCRIPT_FILENAME = c:\www\html\asp\test\index2.aspx)<br />[2009-07-10 18:53:45Z] Debug Read parameter. (QUERY_STRING = )<br />[2009-07-10 18:53:45Z] Debug Read parameter. (REQUEST_METHOD = GET)<br />[2009-07-10 18:53:45Z] Debug Read parameter. (CONTENT_TYPE = )<br />[2009-07-10 18:53:45Z] Debug Read parameter. (CONTENT_LENGTH = )<br />[2009-07-10 18:53:45Z] Debug Read parameter. (SCRIPT_NAME = /asp/test/index2.aspx)<br />[2009-07-10 18:53:45Z] Debug Read parameter. (REQUEST_URI = /asp/test/index2.aspx)<br />[2009-07-10 18:53:45Z] Debug Read parameter. (DOCUMENT_URI = /asp/test/index2.aspx)<br />[2009-07-10 18:53:45Z] Debug Read parameter. (DOCUMENT_ROOT = C:/www/html)<br />[2009-07-10 18:53:45Z] Debug Read parameter. (SERVER_PROTOCOL = HTTP/1.1)<br />[2009-07-10 18:53:45Z] Debug Read parameter. (GATEWAY_INTERFACE = CGI/1.1)<br />[2009-07-10 18:53:45Z] Debug Read parameter. (SERVER_SOFTWARE = nginx/0.8.4)<br />[2009-07-10 18:53:45Z] Debug Read parameter. (REMOTE_ADDR = 127.0.0.1)<br />[2009-07-10 18:53:45Z] Debug Read parameter. (REMOTE_PORT = 3582)<br />[2009-07-10 18:53:45Z] Debug Read parameter. (SERVER_ADDR = 127.0.0.1)<br />[2009-07-10 18:53:45Z] Debug Read parameter. (SERVER_PORT = 80)<br />[2009-07-10 18:53:45Z] Debug Read parameter. (SERVER_NAME = localhost)<br />[2009-07-10 18:53:45Z] Debug Read parameter. (HTTP_HOST = localhost)<br />[2009-07-10 18:53:45Z] Debug Read parameter. (HTTP_USER_AGENT = Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.11) Gecko/2009060215 Firefox/3.0.11 (.NET CLR 3.5.30729))<br />[2009-07-10 18:53:45Z] Debug Read parameter. (HTTP_ACCEPT = text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8)<br />[2009-07-10 18:53:45Z] Debug Read parameter. (HTTP_ACCEPT_LANGUAGE = en-us,en;q=0.5)<br />[2009-07-10 18:53:45Z] Debug Read parameter. (HTTP_ACCEPT_ENCODING = gzip,deflate)<br />[2009-07-10 18:53:45Z] Debug Read parameter. (HTTP_ACCEPT_CHARSET = ISO-8859-1,utf-8;q=0.7,*;q=0.7)<br />[2009-07-10 18:53:45Z] Debug Read parameter. (HTTP_KEEP_ALIVE = 300)<br />[2009-07-10 18:53:45Z] Debug Read parameter. (HTTP_CONNECTION = keep-alive)<br />[2009-07-10 18:53:45Z] Debug Record received. (Type: StandardInput, ID: 1, Length: 0)<br /><br /><br />Thanks for any help.<br /><br />Eric]]></description>
<dc:creator>ericgj</dc:creator>
<category>Spanish Forum</category><pubDate>Sat, 11 Jul 2009 00:04:39 -0400</pubDate></item>
<item>
<guid>http://forum.nginx.org/read.php?19,2268,2268#msg-2268</guid>
<title>Instalar Mono + NginX en Windows</title><link>http://forum.nginx.org/read.php?19,2268,2268#msg-2268</link><description><![CDATA[En este hilo voy a explicar paso a paso como instalar nginx con soporte para ASP.Net usando mono y FastCGI para usarlo como servidor de pruebas local. Cabe recalcar que es la primera vez que voy a manipular Nginx y ruego paciencia para tener el tiempo de ir publicando los pasos poco a poco.<br /><br />Adelanto que usaré la version NginX for windows 0.6.36 que pueden descargar aqui http://cli.gs/636e y va a ser instalado en un windows xp professional sp3. Usaré tambien la version para windows de mono www.mono-project.com.<br /><br />Sin mas comienzo con las pruebas y apenas tenga listos los pasos a seguir voy publicandolos aqui.]]></description>
<dc:creator>julcar</dc:creator>
<category>Spanish Forum</category><pubDate>Thu, 21 May 2009 14:03:29 -0400</pubDate></item>
</channel>
</rss>