[Mono-dev] Help rebuilding Xsp Mono.WebServer's Request.cs and ApplicationServer.cs
TheCatcher
MySpamTrap at Yahoo.com
Sat Mar 5 20:56:34 UTC 2016
I'm attempting to get an installation of nginx and fastcgi-mono-server4
running on a Raspberry Pi running Raspbian Jessie. I've followed several
different web tutorials, and I've done a successful git clone and build of
git://github.com/mono/mono.git. But I keep running into the same issue.
Mono is unable to resolve the Virtual App for my web site. The mono log
shows "No application defined for: rp.mydomainname.com" followed by
"Couldn't find vapp.". I suspect this comes down to a simple configuration
issue.
The errors I'm seeing in the log appear to be coming from
"xsp/src/Mono.WebServer.FastCgi/Request.cs" - ParseParameterData and
"xsp/src/Mono.WebServer/ApplicationServer.cs" - GetApplicationForPath .
However, either the mono.git didn't include "xsp/src/Mono.WebServer" and
Request.cs or ApplicationServer.cs or I don't know where to look for them.
I would like some help identifying what git repository I need to clone to be
able to rebuild xsp/src/Mono.WebServer (so that I can add some additional
logging to determine where it is looking for the vapp). Or some help
finding Request.cs and ApplicationServer.cs, if they were included in the
mono.git clone.
For general information...
This is what a request to my site (http://rp.mydomainname.com) returns...
-------
No Application Found
Unable to find a matching application for request:
Host rp.mydomainname.com
Port 80
Request Path /mdn.aspx
Physical Path /var/www/mdn/mdn.aspx
-------
This is what is in my sites-available file...
-------
server {
listen 80;
listen [::]:80;
server_name rp.mydomainname.com;
access_log /var/log/nginx/mdn.access.log;
error_log /var/log/nginx/mdn.error.log;
location / {
root /var/www/mdn;
index mdn.aspx;
fastcgi_index mdn.aspx;
fastcgi_pass 127.0.0.1:9000;
include /etc/nginx/fastcgi_params;
try_files $uri $uri/ =404;
}
}
-------
The sites-enabled folder contains just a file link to the mdn file in the
sites-available folder.
The /etc/nginx/fastcgi_params file has these 2 lines appended to the end of
it...
-------
fastcgi_param PATH_INFO "";
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
-------
This is the command line I am using to start fastcgi-mono-server4...
-------
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
-------
--
View this message in context: http://mono.1490590.n4.nabble.com/Help-rebuilding-Xsp-Mono-WebServer-s-Request-cs-and-ApplicationServer-cs-tp4667560.html
Sent from the Mono - Dev mailing list archive at Nabble.com.
More information about the Mono-devel-list
mailing list