ngx_http_accesskey_module error

lhmwzy lhmwzy at
Wed Oct 15 19:54:16 MSD 2008

Use the full path
./configure --user=www --group=www --prefix=/usr/local/nginx
--with-http_stub_status_module --with-http_ssl_module --with-md5=/usr
--with-http_gzip_static_module  --with-http_realip_module

strings objs/nginx | grep accesskey_signature outputs:

But the error is the same:
2008/10/16 00:11:58 [emerg] 7566#0: unknown directive "accesskey" in

2008/10/15 Grzegorz Nosek <grzegorz.nosek at>:
> On Wed, Oct 15, 2008 at 10:47:24PM +0800, lhmwzy wrote:
>> I download the file nginx-accesskey-2.0.3.tar.gz and untar  and put it
>> in $nginxsrchome/src/addons
>> then run:
>> 1../configure --user=www --group=www --prefix=/usr/local/nginx
>> --with-http_stub_status_module --with-http_ssl_module --with-md5=/usr
>> --with-http_gzip_static_module  --with-http_realip_module
>> --with-poll_module --add-module=src/addons/nginx-accesskey-2.0.3/
>> 2.make
>> 3.make install
>> 4.kill the old nginx pid and run the new nginx
>> Any thing is wrong?
> Looks OK to me, but there was a thread some time ago about Nginx not
> liking relative paths to addon modules (IIRC), so you might try using
> the full path, e.g. --add-module=$PWD/src/addons/nginx-accesskey-2.0.3/
> Save the output of configure somewhere, do you see a message about
> configuring the accesskey module?
> Just in case, does the following command output anything (while you are
> in the Nginx source directory where you compiled it)?
> strings objs/nginx | grep accesskey_signature
> Best regards,
>  Grzegorz Nosek

More information about the nginx mailing list