Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#643 closed defect (invalid)

unknown directive "subs_filter"

Reported by: Arthur Pemberton Owned by:
Priority: major Milestone:
Component: nginx-core Version: 1.6.x
Keywords: Cc:
uname -a: Linux rs-proxy01 2.6.32-431.29.2.el6.x86_64 #1 SMP Tue Sep 9 21:36:05 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
nginx -V: nginx version: nginx/1.6.2
built by gcc 4.4.7 20120313 (Red Hat 4.4.7-3) (GCC)
TLS SNI support enabled
configure arguments: --prefix=/etc/nginx --sbin-path=/usr/sbin/nginx --conf-path=/etc/nginx/nginx.conf --error-log-path=/var/log/nginx/error.log --http-log-path=/var/log/nginx/access.log --pid-path=/var/run/nginx.pid --lock-path=/var/run/nginx.lock --http-client-body-temp-path=/var/cache/nginx/client_temp --http-proxy-temp-path=/var/cache/nginx/proxy_temp --http-fastcgi-temp-path=/var/cache/nginx/fastcgi_temp --http-uwsgi-temp-path=/var/cache/nginx/uwsgi_temp --http-scgi-temp-path=/var/cache/nginx/scgi_temp --user=nginx --group=nginx --with-http_ssl_module --with-http_realip_module --with-http_addition_module --with-http_sub_module --with-http_dav_module --with-http_flv_module --with-http_mp4_module --with-http_gunzip_module --with-http_gzip_static_module --with-http_random_index_module --with-http_secure_link_module --with-http_stub_status_module --with-http_auth_request_module --with-mail --with-mail_ssl_module --with-file-aio --with-ipv6 --with-http_spdy_module --with-cc-opt='-O2 -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic'

Description

By all indications, I should be able to use "subs_filter" within a location, but nginx -t says otherwise. As such, I am unable to do the substitution that I want.


# rpm -qi nginx
Name : nginx Relocations: (not relocatable)
Version : 1.6.2 Vendor: nginx inc.
Release : 1.el6.ngx Build Date: Tue 16 Sep 2014 09:57:32 AM EDT
Install Date: Thu 18 Sep 2014 02:52:47 AM EDT Build Host: centos6-amd64-ovl.b.nginx.com
Group : System Environment/Daemons Source RPM: nginx-1.6.2-1.el6.ngx.src.rpm
Size : 848151 License: 2-clause BSD-like license
Signature : RSA/SHA1, Tue 16 Sep 2014 10:31:55 AM EDT, Key ID abf5bd827bd9bf62

Change History (3)

comment:1 by Sergey Budnevitch, 10 years ago

Resolution: invalid
Status: newclosed

sub_filter, not subs_filter

in reply to:  1 comment:2 by Arthur Pemberton, 10 years ago

Replying to Sergey Budnevitch:

sub_filter, not subs_filter

Am I missing something, or is the documentation wrong? http://wiki.nginx.org/HttpSubsModule

comment:3 by maxim, 10 years ago

Yes, this is third party nginx module that is not a part of standard nginx distribution:

From the wiki page:

"Note: this module is not distributed with the Nginx source. Installation instructions can be found below."

Note: See TracTickets for help on using tickets.