Welcome! Log In Create A New Profile

Advanced

Nginx and mono results in 404 when accessing aspx files

Posted by mtranda 
Nginx and mono results in 404 when accessing aspx files
August 19, 2010 03:54AM
Ok, so nginx is running, and mono appears to be running as well (the fastCGI module). The virtual website is responding fine and serves static files but I get the standard "Server error" ASP.net 404 page when I try calling an aspx file (hence mono is running and taking requests). Any ideas?

I've modified the nginx.config file accordingly (I hope) and since I do get the 404 page it is probably configured properly so it might be a mono issue.

Thank you in advance.
Re: Nginx and mono results in 404 when accessing aspx files
January 07, 2011 11:05PM
One thing I've recently discovered is that there's a way to work around Linux's case sensitivity when running Mono. I suspect that this (or a path problem) may be your issue. Add the following to enable case-insensitivity in Mono applications:

export MONO_IOMAP=all

Add that to whatever script you use to start the Mono FastCGI server.
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 176
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready