deny by ip and redirect
Igor Sysoev
igor at sysoev.ru
Mon Oct 18 08:54:22 MSD 2010
On Sun, Oct 17, 2010 at 11:59:54PM -0400, Ilan Berkner wrote:
> 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;
error_page 403 =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
> >
> >
> _______________________________________________
> nginx mailing list
> nginx at nginx.org
> http://nginx.org/mailman/listinfo/nginx
--
Igor Sysoev
http://sysoev.ru/en/
More information about the nginx
mailing list