deny by ip and redirect

Ilan Berkner iberkner at gmail.com
Mon Oct 18 07:59:54 MSD 2010


I think I applied the patch correctly, ran patch < patchfilename inside the
src/http directory and looks like the files were patched.  I then modified
the config file to have:

error_page = 301 http://www.myprimarydomain.com$request_uri;

When starting nginx, I now get this error:

Starting nginx: [emerg]: invalid value "=" in /etc/nginx/nginx.conf:42




2010/10/17 Igor Sysoev <igor at sysoev.ru>

> On Sun, Oct 17, 2010 at 08:42:56PM +0400, Igor Sysoev wrote:
>
> > On Sun, Oct 17, 2010 at 08:33:36PM +0400, Igor Sysoev wrote:
> >
> > > On Sun, Oct 17, 2010 at 12:29:14PM -0400, Ilan Berkner wrote:
> > >
> > > > Thanks Igor, appreciate the information, is this something you expect
> to be
> > > > done in coming versions?
> > >
> > > The attached patch allows this.
> > > It will be included in the next 0.8.53.
> >
> > Sorry, this is wrong patch.
>
> The new patch.
>
>
> --
> Igor Sysoev
> http://sysoev.ru/en/
>
> _______________________________________________
> nginx mailing list
> nginx at nginx.org
> http://nginx.org/mailman/listinfo/nginx
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://nginx.org/pipermail/nginx/attachments/20101017/f6fa3b66/attachment.html>


More information about the nginx mailing list