ngx_http_accesskey_module error
lhmwzy
lhmwzy at gmail.com
Wed Oct 15 18:47:24 MSD 2008
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?
2008/10/15 Grzegorz Nosek <grzegorz.nosek at gmail.com>:
> On Wed, Oct 15, 2008 at 10:33:03PM +0800, lhmwzy wrote:
>> I follow http://wiki.codemongers.com/NginxHttpAccessKeyModule#accesskey
>> to install the ngx_http_accesskey_module,but get an error:
>>
>> 2008/10/15 22:48:56 [emerg] 31870#0: unknown directive "accesskey" in
>> /usr/local/nginx/conf/nginx.conf71
>>
>> What's the problem?
>
> You're not running a binary with accesskey compiled in.
> Have you recompiled Nginx after configuring the module?
> Installed the newly compiled version?
> Restarted/upgraded the binary?
>
> Best regards,
> Grzegorz Nosek
>
>
More information about the nginx
mailing list