[Mono-dev] Help rebuilding Xsp Mono.WebServer's Request.cs and ApplicationServer.cs
TheCatcher
MySpamTrap at Yahoo.com
Mon Mar 7 03:59:56 UTC 2016
Turns out the fastcgi-mono-server4 applications parameter parser is expecting
a different syntax than I was providing. This is what I was using for the
command line...
-------
sudo fastcgi-mono-server4 /applications=/rp.mydomainname.com/:/var/www/mdn/
/socket=tcp:127.0.0.1:9000 /logfile=/var/log/mono/fastcgi.log /printlog=True
/loglevels=All --verbose --stoppable
-------
But it turns out it needed at least 3 colon separated parameters and not as
many backslashes to properly parse the vhost from the applications
parameter. Now I'm using this...
-------
sudo fastcgi-mono-server4
/applications=rp.mydomainname.com:80::/var/www/mdn/
/socket=tcp:127.0.0.1:9000 /logfile=/var/log/mono/fastcgi.log /printlog=True
/loglevels=All --verbose --stoppable
-------
The parameter before the first colon is the vhost (rp.mydomainname.com), the
next parameter is the port (80), the next parameter is the vpath (blank or a
/ work for no vpath), and the last parameter is the physical path
(/var/www/mdn/). Notice that the only slashes in the contents of the
applications parameter are in the vpath and physical path portion.
Now I'm having issues with the Hello World contents of the mdn.aspx, but
that is problem for another day.
--
View this message in context: http://mono.1490590.n4.nabble.com/Help-rebuilding-Xsp-Mono-WebServer-s-Request-cs-and-ApplicationServer-cs-tp4667560p4667564.html
Sent from the Mono - Dev mailing list archive at Nabble.com.
More information about the Mono-devel-list
mailing list