-
Notifications
You must be signed in to change notification settings - Fork 48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
app cannot be found - nginx on mac #39
Comments
Please show the output of the
|
Ah, that's more info... What's the significance of the root directory? Is that being used to locate the assemblies? [2015-09-18 08:15:46Z] Debug HyperFastCgi |
The most possible reason of the error that HyperFastCgi.dll is not registered in the GAC. Did you do root directory is the directory for configuration of web appplications. If you want to use relative paths of web application location in config, you can set up root directory in config. |
Yes, i used the same commands as on the instructions: ./autogen.sh --prefix=/usr I used CakeBrew to install the automake/libtool/autoconf/glib dependencies and had to additionally run make install on libtool. If there are logs you would be interested in, let me know. I went ahead and manually gac'd the exe, and now get a different log: [2015-09-18 14:44:05Z] Debug HyperFastCgi Server stack trace: Exception rethrown at [0]: |
Hi, I have the same error, can you tell me how can it be solved? OC: CentOS7 #: LD_LIBRARY_PATH=/usr/local/lib hyperfastcgi4 /config=/etc/hyperfastcgi/hfc.config /loglevels=All [2017-04-07 17:33:09Z] Debug HyperFastCgi Nginx:
HyperFastCGI:
|
@Mherx This issue is unrelated to original, please open another one. In short this message means that your application declaration does not match to the host:port which are coming from nginx. In your case you listens on 443 and all requests come to 443 port, but you defined 80 |
While it could certainly be my configuration, i am matching samples but just can't seem to get a response. Nginx serves the static web page OK when no fastcgi is configured.
OS: Mac OS X Yosemite
NGinx: 1.9.4
Mono: 4.0.2
HyperFastCgi: 4 - built from master sources
server.config:
nginx.conf:
http {
upstream fastcgi_backend {
server 127.0.0.1:9000;
keepalive 32;
}
server {
listen 80 default_server;
server_name localhost;
access_log /var/log/web.log;
error_log /var/log/nginxerror.log;
location / {
root /usr/local/var/www/;
index index.html index.htm default.aspx Default.aspx;
fastcgi_index index.html;
fastcgi_keep_conn on;
fastcgi_pass fastcgi_backend;
include /usr/local/nginx/conf/fastcgi_params;
}
}
}
events { worker_connections 1024; }
run command:
hyperfastcgi4 /config=/usr/local/server.config /logfile=/usr/local/HyperFastCgi/logging.log /loglevels=Debug
Output:
[2015-09-17 22:18:02Z] Debug HyperFastCgi
libev.c:461: Listen(): libevent version: 2.0.22-stable
libev.c:475: Listen(): libevent is using kqueue for events.
fcgi-transport.c:394: parse_params(): Can't find app! HOST='localhost' port=80 path='/index.html'
The text was updated successfully, but these errors were encountered: