M
M
mvs132020-06-05 11:14:01
Nginx
mvs13, 2020-06-05 11:14:01

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

1 answer(s)
S
Stalker_RED, 2020-06-05
@Stalker_RED

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 question

Ask a Question

731 491 924 answers to any question