March 31, 2011 03:02AM
Добрый день!

Собрал nginx c pcre:
# /xxx/bin/nginx -V
nginx version: nginx/0.8.54
built by gcc 4.2.1 20070719
TLS SNI support enabled
configure arguments: --sbin-path=/xxx/bin/nginx --conf-path=/xxx/conf/nginx.conf --pid-path=/xxx/bin/nginx.pid --http-log-path=/xxx/logs/nginx/access.log --error-log-path=/xxx/logs/nginx/error.log --with-http_ssl_module --with-http_stub_status_module --add-module=/xxx/dist/nginx_limit_access_module --with-pcre=/xxx/dist/pcre-8.11 --with-perl_modules_path=/usr/local/libdata/perl5/xxx/

В конфиге:
http {

perl_modules /usr/local/libdata/perl5/xxx/;
perl_require Js_coockie_flash.pm;

При проверке конфига ругается:
# /xxx/bin/nginx -t
[emerg]: unknown directive "perl_modules" in /xxx/conf/nginx.conf:13
configuration file /xxx/conf/nginx.conf test failed

В чём косяк?
Subject Author Posted

unknown directive "perl_modules"

necro March 31, 2011 03:02AM

Re: unknown directive "perl_modules"

necro March 31, 2011 03:04AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 140
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready