Re: PCRE repo has been remove. Build with PCRE2?

2021-11-18 Thread Jay Caines-Gooby
TLDR; Use the exim mirror. Exim was built by Philip Hazel who is also the author of PCRE, so it's about as official as it could be. Better than a shady Sourceforge one! https://ftp.exim.org/pub/pcre/ Made a brief issue about this in my build-nginx script: https://github.com/jaygooby/build-

PCRE repo has been remove. Build with PCRE2?

2021-11-11 Thread Zach Mitchell
Hey all, Just stumbled upon that https://www.pcre.org/ no longer allows the download of PCRE-8.45 via their FTP so I'm at a loss on how to building nginx from source. Their site describes that they now have PCRE2 but every search I have done on it says that NGINX requires PCRE version 8.X.

Re: execution error - pcre limits exceeded (-8)

2017-04-22 Thread Anoop Alias
>From the docs: yum install gcc-c++ flex bison yajl yajl-devel curl-devel curl GeoIP-devel doxygen zlib-devel pcre-devel git clone https://github.com/SpiderLabs/ModSecurity cd ModSecurity git checkout -b v3/master origin/v3/master sh build.sh git submodule init git submodule update On Sat,

RE: execution error - pcre limits exceeded (-8)

2017-04-22 Thread Dino Edwards
> It's worth to try libmodsecurity (aka ModSecurity 3.x) + nginx connector > instead: > https://github.com/SpiderLabs/ModSecurity/tree/v3/master > https://github.com/SpiderLabs/ModSecurity-nginx I'm trying to download/compile libmodsecurity and everything I read concerning Ubuntu, it instructs

RE: execution error - pcre limits exceeded (-8)

2017-04-21 Thread Dino Edwards
>It's worth to try libmodsecurity (aka ModSecurity 3.x) + nginx connector >instead: >https://github.com/SpiderLabs/ModSecurity/tree/v3/master >https://github.com/SpiderLabs/ModSecurity-nginx >Please note that libmodsecurity does not support all of ModSecurity 2.x >features: >https://github.com

Re: execution error - pcre limits exceeded (-8)

2017-04-21 Thread Andrei Belov
> On 21 Apr 2017, at 12:29, Dino Edwards wrote: > > Hi Andrei, > > Which version of modsecurity are you using with nginx? > > I’m using 2.9.1 It's worth to try libmodsecurity (aka ModSecurity 3.x) + nginx connector instead: https://github.com/SpiderLabs/ModSecurity/tree/v3/master https://

RE: execution error - pcre limits exceeded (-8)

2017-04-21 Thread Dino Edwards
Hi Andrei, Which version of modsecurity are you using with nginx? I’m using 2.9.1 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: execution error - pcre limits exceeded (-8)

2017-04-21 Thread Andrei Belov
sites. After enabling modsecurity I’m > starting to get a lot of the following errors in the error.log file: > > execution error - pcre limits exceeded (-8) > > At that point, web pages don’t load correctly. Can someone help with this? I > haven’t found anything useful on google ex

execution error - pcre limits exceeded (-8)

2017-04-20 Thread Dino Edwards
error.log file: execution error - pcre limits exceeded (-8) At that point, web pages don't load correctly. Can someone help with this? I haven't found anything useful on google except some references of adjusting my php.ini file which doesn't seem to be rel

Re: PCRE

2015-06-22 Thread smsmaddy1981
I have installed 1.8.0 and configure is successful and no PCRE exceptions are thrown now. But, I face issues in loading static content available on different servers. How to achieve this, pls. suggest? Posted at Nginx Forum: http://forum.nginx.org/read.php?2,259783,259795#msg-259795

Re: PCRE

2015-06-22 Thread Maxim Dounin
Hello! On Mon, Jun 22, 2015 at 06:33:58AM -0400, smsmaddy1981 wrote: > Hi Experts, > > I am working on NGINX-1.6.3 version. Installation is successful using latest > pcre, pcre-devel packages too.. > > While accessing the service, static contents were not loaded. > As s

PCRE

2015-06-22 Thread smsmaddy1981
Hi Experts, I am working on NGINX-1.6.3 version. Installation is successful using latest pcre, pcre-devel packages too.. While accessing the service, static contents were not loaded. As suggested in google, I tried configuring as below where the static contents are available @ "

Re: PCRE with NGINX

2015-05-05 Thread Francis Daly
On Tue, May 05, 2015 at 04:50:28AM -0400, nginxsantos wrote: Hi there, > I looked @ http://nginx.org/en/docs/http/server_names.html > It sames put it inside " " and once I did that it is working Yes - "wrap the regex in double quotes" is the right answer. This line does appear in the documentat

Re: PCRE with NGINX

2015-05-05 Thread nginxsantos
I looked @ http://nginx.org/en/docs/http/server_names.html It sames put it inside " " and once I did that it is working Thank you. Posted at Nginx Forum: http://forum.nginx.org/read.php?2,258636,258649#msg-258649 ___ nginx mailing list nginx@nginx.org

Re: PCRE with NGINX

2015-05-05 Thread nginxsantos
Thanks for the explanation. Sorry, not able to understand you fully. My PCRE is something like this (have tested it through https://regex101.com/) .+\..{3}(?P.{6})[^\.]*$ Now, to achieve this what should I put in the nginx.conf Please let me know. Posted at Nginx Forum: http://forum.nginx.org

Re: PCRE with NGINX

2015-05-05 Thread itpp2012
This works: ~*\{.*\:\; 1; with map, do note that a 400 in logging means something else which precedes map handling. Posted at Nginx Forum: http://forum.nginx.org/read.php?2,258636,258644#msg-258644 ___ nginx mailing lis

Re: PCRE with NGINX

2015-05-05 Thread nginxsantos
I tried that alrwady . I don't get errors. But, the functionality does not work. So, I am not sure if the PCRE is not liking it or something else...Still debugging. Posted at Nginx Forum: http://forum.nginx.org/read.php?2,258636,258638#msg-2

Re: PCRE with NGINX

2015-05-05 Thread itpp2012
\{ Would do it. Posted at Nginx Forum: http://forum.nginx.org/read.php?2,258636,258637#msg-258637 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

PCRE with NGINX

2015-05-05 Thread nginxsantos
Hi, I am trying to insert a PCRE inside a map block. But looks like "{" used in my code is not liked. Suppose I am doing something like this inside a "map" block. .{1}(?P.{9}).* What is the escape character for "{ " Please let me know. Thanks

Re: PCRE named captures sill counted in numerical variables list

2014-04-03 Thread B.R.
​Thanks Maxim, I just understood my mistake: I was confusing (once again, I think) named captures and subpatterns... What I wanted to use was the OR logic capability of captures while actually not capturing them... The starting question mark of both syntax confused me... If anyone is intereted i

Re: PCRE named captures sill counted in numerical variables list

2014-04-03 Thread Maxim Dounin
Hello! On Thu, Apr 03, 2014 at 03:08:14PM +0200, B.R. wrote: > I tried to configure the following location with something like: > > location ~* > "^/([[:alpha:]]{1,8}(?-[[:alpha:]]{1,8})?)(/.*[^/])?/?$" { > try_files $uri $uri/ $2/?lang=$1&$args; > } > > ​However, the $2 variable does

PCRE named captures sill counted in numerical variables list

2014-04-03 Thread B.R.
I tried to configure the following location with something like: location ~* "^/([[:alpha:]]{1,8}(?-[[:alpha:]]{1,8})?)(/.*[^/])?/?$" { try_files $uri $uri/ $2/?lang=$1&$args; } ​However, the $2 variable does not catch the last part of the URI as expected (either it catches the named cap

Re: minor misleading configure error-msg around PCRE

2013-10-29 Thread Maxim Dounin
Hello! On Tue, Oct 29, 2013 at 11:27:48AM +0100, e1c1bac6253dc54a1e89ddc046585...@posteo.net wrote: > Hi, > > ./configure: error: the HTTP rewrite module requires the PCRE library. > You can either disable the module by using > --without-http_rewrite_module > option, o

minor misleading configure error-msg around PCRE

2013-10-29 Thread e1c1bac6253dc54a1e89ddc046585792
Hi, ./configure: error: the HTTP rewrite module requires the PCRE library. You can either disable the module by using --without-http_rewrite_module option, or install the PCRE library into the system, or build the PCRE library statically from the source with nginx by using --with-pcre= option

Re: build from source pointing to installed libs (e.g. pcre)

2013-03-07 Thread anthony kerz
t; wrote: > > hi, > > > > i'm trying to build from source on an ubuntu system which has libpcre3 > > installed: > > > > tony@quantal:~/Downloads/nginx-1.3.14$ dpkg -l | grep pcre > > ii libpcre3:i386 1:8.30-5ubuntu1 i386 Perl 5 Compatible Regular > Expressi

Re: build from source pointing to installed libs (e.g. pcre)

2013-03-07 Thread Anatoly Mikhailov
On Mar 7, 2013, at 3:04 PM, Edho Arief wrote: > On Thu, Mar 7, 2013 at 10:11 PM, anthony kerz wrote: >> hi, >> >> i'm trying to build from source on an ubuntu system which has libpcre3 >> installed: >> >> tony@quantal:~/Downloads/nginx-1.3.14$ dp

Re: build from source pointing to installed libs (e.g. pcre)

2013-03-07 Thread Edho Arief
On Thu, Mar 7, 2013 at 10:11 PM, anthony kerz wrote: > hi, > > i'm trying to build from source on an ubuntu system which has libpcre3 > installed: > > tony@quantal:~/Downloads/nginx-1.3.14$ dpkg -l | grep pcre > ii libpcre3:i386 1:8.30-5ubuntu1 i386 Perl 5 Compatible Re

build from source pointing to installed libs (e.g. pcre)

2013-03-07 Thread anthony kerz
hi, i'm trying to build from source on an ubuntu system which has libpcre3 installed: tony@quantal:~/Downloads/nginx-1.3.14$ dpkg -l | grep pcre ii libpcre3:i386 1:8.30-5ubuntu1 i386 Perl 5 Compatible Regular Expression Library - runtime files but i can't for the life of me get the