deny by ip and redirect

Ilan Berkner iberkner at gmail.com
Mon Oct 18 00:53:08 MSD 2010


I get this error:

can't find file to patch at input line 5
Perhaps you should have used the -p or --strip option?
The text leading up to this was:
--------------------------
|Index: src/http/ngx_http_core_module.c
|===================================================================
|--- src/http/ngx_http_core_module.c    (revision 3099)
|+++ src/http/ngx_http_core_module.c    (working copy)
--------------------------
File to patch:


On Sun, Oct 17, 2010 at 3:38 PM, Igor Sysoev <igor at sysoev.ru> wrote:

> On Sun, Oct 17, 2010 at 03:05:44PM -0400, Ilan Berkner wrote:
>
> > Thanks, this would be the first time I'm applying a patch.  What's the
> > correct process?
>
> tar zxf nginx-0.8.52.tar.gz
> patch -d nginx-0.8.52 < patch.error_page.30x.1
> cd nginx-0.8.52
> ./configure ...
>
>
> > 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/
>
> _______________________________________________
> 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/8e5ca75d/attachment.html>


More information about the nginx mailing list