Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on May 7th, 2012  |  syntax: None  |  size: 2.97 KB  |  hits: 37  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. Nginx, SiginalR and FastCGI with mono: No application found
  2. No Application Found
  3.  
  4. Unable to find a matching application for request:
  5.  
  6. Host  localhost:7171
  7. Port  7171
  8. Request Path  /app/index.html
  9. Physical Path C:nginxhtml/app/index.html
  10.        
  11. fastcgi_param  SCRIPT_FILENAME    $document_root$fastcgi_script_name;
  12. fastcgi_param  QUERY_STRING       $query_string;
  13. fastcgi_param  REQUEST_METHOD     $request_method;
  14. fastcgi_param  CONTENT_TYPE       $content_type;
  15. fastcgi_param  CONTENT_LENGTH     $content_length;
  16.  
  17. fastcgi_param  SCRIPT_NAME        $fastcgi_script_name;
  18. fastcgi_param  REQUEST_URI        $request_uri;
  19. fastcgi_param  DOCUMENT_URI       $document_uri;
  20. fastcgi_param  DOCUMENT_ROOT      $document_root;
  21. fastcgi_param  SERVER_PROTOCOL    $server_protocol;
  22.  
  23. fastcgi_param  GATEWAY_INTERFACE  CGI/1.1;
  24. fastcgi_param  SERVER_SOFTWARE    nginx/$nginx_version;
  25.  
  26. fastcgi_param  REMOTE_ADDR        $remote_addr;
  27. fastcgi_param  REMOTE_PORT        $remote_port;
  28. fastcgi_param  SERVER_ADDR        $server_addr;
  29. fastcgi_param  SERVER_PORT        $server_port;
  30. fastcgi_param  SERVER_NAME        $server_name;
  31.  
  32. # PHP only, required if PHP was built with --enable-force-cgi-redirect
  33. fastcgi_param  REDIRECT_STATUS    200;
  34.        
  35. fastcgi_param  QUERY_STRING       $query_string;
  36. fastcgi_param  REQUEST_METHOD     $request_method;
  37. fastcgi_param  CONTENT_TYPE       $content_type;
  38. fastcgi_param  CONTENT_LENGTH     $content_length;
  39.  
  40. fastcgi_param  SCRIPT_NAME        $fastcgi_script_name;
  41. fastcgi_param  REQUEST_URI        $request_uri;
  42. fastcgi_param  DOCUMENT_URI       $document_uri;
  43. fastcgi_param  DOCUMENT_ROOT      $document_root;
  44. fastcgi_param  SERVER_PROTOCOL    $server_protocol;
  45.  
  46. fastcgi_param  GATEWAY_INTERFACE  CGI/1.1;
  47. fastcgi_param  SERVER_SOFTWARE    nginx/$nginx_version;
  48.  
  49. fastcgi_param  REMOTE_ADDR        $remote_addr;
  50. fastcgi_param  REMOTE_PORT        $remote_port;
  51. fastcgi_param  SERVER_ADDR        $server_addr;
  52. fastcgi_param  SERVER_PORT        $server_port;
  53. fastcgi_param  SERVER_NAME        $server_name;
  54.  
  55. # PHP only, required if PHP was built with --enable-force-cgi-redirect
  56. fastcgi_param  REDIRECT_STATUS    200;
  57.  
  58. fastcgi_param  PATH_INFO          "";
  59. fastcgi_param  SCRIPT_FILENAME    $document_root$fastcgi_script_name;
  60.        
  61. server {
  62. listen       7171;
  63. server_name  127.0.0.1;
  64.  
  65.  
  66. #charset koi8-r;
  67.  
  68. #access_log  logs/host.access.log  main;
  69.  
  70. location / {
  71.  
  72.     #fastcgi_index index.html;
  73.     #fastcgi_pass 127.0.0.1:9000;
  74.     #include C:\nginx\conf\fastcgi_params;
  75.  }
  76.  
  77. location /app {
  78.  
  79.     fastcgi_index index.html;
  80.     fastcgi_pass 127.0.0.1:9000;
  81.     include fastcgi_params;
  82.  }
  83.  }
  84.        
  85. "C:Program Files (x86)Mono-2.10.8binfastcgi-mono-server4" /socket=tcp:127.0.0.1:9000 /applications=/:/c://nginx//html//app
  86.        
  87. "C:Program Files (x86)Mono-2.10.8binfastcgi-mono-server4" /applications=/:/..\..\..\nginx\html\app\ /socket=tcp:127.0.0.1:9000
  88.        
  89. location / {
  90.         root c:\nginx\html\app;            
  91.         fastcgi_index index.html;
  92.         fastcgi_pass 127.0.0.1:9000;
  93.         include C:\nginx\conf\fastcgi_params;
  94.     }