Приветствую! Работает Nginx + Spawn-fcgi-1.4.18 > fcgiwrap version 1.0 Задача развернуть на базе этого сервера Twiki (twiki.org) Проблема в следующем. Твики основаны на перл-скриптах, при этом файлы скриптов не имею расширения. При запросе сby daozor - Nginx Mailing List - Russian
edogawaconan Wrote: > depends on the fastcgi backend itself. Nginx only > passes the > parameters to fastcgi backend. spawn-fcgi-1.4.18 - spawns fastcgi processes fcgiwrap version 1.0by daozor - Nginx Mailing List - English
Probably a problem simply in a section `location`.. maybe somehow use rewrite or another variant..by daozor - Nginx Mailing List - English
edogawaconan Wrote: ------------------------------------------------------- > On Mon, Jan 24, 2011 at 8:23 PM, daozor wrote: > > fastcgi_pass > 127.0.0.1:10001; > > > > > > check if the fastcgi handler in fastcgi_pass > accept non *.cgi / *.pl files > > _______________________________________________ >by daozor - Nginx Mailing List - English
In folder /var/www/twiki/bin there are many perl files: attach changes configure edit login logon logos manage oops preview rdiff rdiffauth register rename resetpasswd rest save search statistics twiki_cgi upload view viewauth viewfile # file configure configure: perl script text executable Server/location in nginx.conf: server {by daozor - Nginx Mailing List - English
If perl-scripts without extension the browser tries to download a file, instead of to execute...by daozor - Nginx Mailing List - English
Hi Nginx perfectly execute Perl scripts with the extensions *.cgi or *.pl (www.abc.com/bin/test_perl_script.cgi) via fastcgi. But I should execute Perl scripts without the extension. For example: www.abc.com/bin/test_perl_script How to configure nginx.conf file. Thank you!by daozor - Nginx Mailing List - English