using .asmx using lighttpd and mono fastcgi

后端 未结 2 828
我寻月下人不归
我寻月下人不归 2021-01-16 16:56

I have deployed a web service to a ubuntu server running lighttpd and fastcgi-mono-server2. The .asmx page loads correctly but when I test the method I get a 404.

M

2条回答
  •  一生所求
    2021-01-16 17:29

    I had the very same issue. Turned out to be default directive for serving 404 when not finding assets. Removed the following line:

    try_files $uri $uri/ =404;
    

    And add PATH_INFO as fastcgi param in /etc/nginx/fastcgi_params:

    fastcgi_param  PATH_INFO        $fastcgi_path_info;
    

    That fixed it for me. Hope it helps.

提交回复
热议问题