ASP.Net MVC 2 on nginx/mono 2.8

前端 未结 6 1539
心在旅途
心在旅途 2021-02-06 07:07

I am trying to setup ASP.Net MVC 2 application on Linux environment. I\'ve installed Ubuntu 10.10 on VirtualBox, then installed Mono 2.8 from sources. After that I have installe

6条回答
  •  半阙折子戏
    2021-02-06 07:45

    I had this problem just now, I too had been following the document on the mono site:

    I was trying to start the fastcgi-mono-server as it suggested:

    sudo fastcgi-mono-server4 /applications=www.domain1.xyz:/:/var/www/www.domain1.xyz/ /socket=tcp:127.0.0.1:9000 &
    

    However when I did it like that I got the same problem as you. I changed it to this:

    sudo fastcgi-mono-server4 /applications=/:/var/www/www.domain1.xyz/ /socket=tcp:127.0.0.1:9000 &
    

    And it worked ( I had to type in www.domain1.xyz/Home/Index to see my MVC page, not worked out how to stop it looking for www.domain1.xyz/default.aspx yet XD ).

提交回复
热议问题