Answer the question
In order to leave comments, you need to log in
Why is NGINX not executing exe files?
Good afternoon!
There is a computer running Windows 7. The library server (IRBIS) works on it. There is a web interface to this server (Web-IRBIS), interaction with which occurs through the cgiirbis_64.exe file. NGINX is used as a web server.
For access via http, a request of the form http://.../cgiirbis_64.exe?LNG=&C21COM=F&I21DBN=IB... is used and the response must be received in the form of an HTML code. But when accessing the server, the cgiirbis_64.exe file itself is downloaded, and not executed.
Something is wrong with the webserver settings. There is a suspicion that the question is childish, but I have been stupid with it for a long time. Where to dig, tell me?
Answer the question
In order to leave comments, you need to log in
by default, nginx works with fastCGI, not CGI.
It may be possible through the nginx.org/ru/docs/http/ngx_http_scgi_module.html
module
Or you will have to install and configure some kind of layer / wrapper like fcgiwrap or uWSGI
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question