The tag has no wiki summary.

learn more… | top users | synonyms

1
vote
1answer
15 views

dict_pcre.so missing on debian

I've installed postfix as I normally do, using apt-get install postfix, but for some reason it's not including dict_pcre.so in the install. Is there something I've overlooked, or rather how and where ...
0
votes
1answer
241 views

Varnish installer cannot find PCRE when it is already installed

I am trying to install Varnish-Cache 4 on my Mac OS X 10.9.3. But I get this error: checking for PCRE... no configure: error: Package requirements (libpcre) were not met: No package 'libpcre' found ...
0
votes
0answers
213 views

Compile nginx from source with PCRE-JIT support on Ubuntu 12.04

The latest version of PCRE library available to Ubuntu 12.04 does not support JIT features (support available in >= 8.20), so any self-compiled nginx on Ubuntu 12.04 will not have pcre-jit. So what ...
0
votes
0answers
65 views

Issue with a NGINX Location regex

I'm just dealing with a location issue today, I have a customer domain with the following format: subdomain.domain.tld and urls as: subdomain.domain.tld/servicename I'm trying to forward this ...
0
votes
1answer
251 views

Postfix regex for smtpd_command_filter

Some of my users are using Gmail to send mail to our domain (The mail server for which is hosted on a CentOS 5 machine with postfix). Sometimes, but not all the time, when they do, they get a ...
2
votes
1answer
39 views

postfix HOLD Recieved non authenticated

i'm wondering if is possibile to put on hold emails that not have authenticated in Recieved header . i've tryed with a simple negate operazione with pcre !/^Received:.*Authenticated*/ HOLD but ...
0
votes
1answer
782 views

postfix pcre conditional REPLACE

I need to modify the "From:" header line in incoming e-mail messages only if "Message-Id:" starts with a defined string. So in main.cf I put: header_checks = pcre:/etc/postfix/header_checks and ...
1
vote
1answer
1k views

pcregrep is not matching regex (multiline?)

I don't understand why is first two is a match/hit, yet third is a miss? -bash-3.2# cat 1361492805.M171838P41834.mx1.alexus.biz\,S\=12921\:2\,Sijm | pcregrep -q '.*languager.*' ; echo $? 0 -bash-3.2# ...
1
vote
4answers
304 views

greping multiple lines from MySql binlog

I have binlog from MySQL and I need to output certain time frame into a seperate file, how would I do that? here is sample of what binlog file contains: # at 460 #130120 0:09:17 server id 1 ...
0
votes
4answers
613 views

how to fix “Package pcre-6.6-6.el5_6.1.x86_64 already installed and latest version” alert need to update it to pcre-8.31?

Goodafternoon, I am trying to update my pcre-6.6-6.el5_6.1.x86_64 package to pcre-8.31 following is my steps to do so: Step 1: cd /etc/yum.repos.d Made repository utter-ramblings.repo in it. ...
1
vote
2answers
741 views

Postfix: postmap error with pcre

I am using postfix-pcre on debian linux. When I run postmap /etc/postfix/smtp_header_checks.pcre and postmap pcre:/etc/postfix/smtp_header_checks.pcre, I get the following error: postmap: warning: ...
7
votes
1answer
2k views

What are PCRE limits?

In ModSecurity there are PCRE limits exceeded errors. I know I can fix this by setting rules such as: SecPcreMatchLimit 150000 SecPcreMatchLimitRecursion 150000 But, what are these rules actually ...
-1
votes
1answer
394 views

How do I recompile apache in CentOS? [closed]

I need to recompile apache with an external PCRE library. Any help would be much appreciated. Thanks.
0
votes
2answers
2k views

Postfix, sender_bcc - send copy on multiple adress

I have sender_bcc_maps = pcre:/etc/postfix/conf/sender_bcc in my postfix in this file I have rules such as /foo@bar.tld/ bcchere@bar.tld Now i need to send blind copy to more than one email. ...
6
votes
2answers
6k views

mod_security - PCRE limits exceeded

Just about on every request I am getting the following error: Rule execution error - PCRE limits exceeded (-8): (null). After a bunch of googling the only solutions seem to be a) Add the following ...
0
votes
1answer
649 views

using regex “\.php$” requires PCRE library in nginx.conf

I noticed while make install nginx, it told me PCRE is not available. I installed PCRE: yum install -y pcre When I restarted nginx, it shows this error: using regex ".php$" requires PCRE ...
0
votes
1answer
854 views

Nginx can't find PCRE library on Ubuntu Server

I have been trying to get my Passenger and Nginx setup to work with php files but I am having problems with the PCRE regular expressions library. Install all went fine so I'm assuming it found the ...
0
votes
1answer
742 views

Using PCRE 8.20 with Nginx 1.0.11 and Passenger

I downloaded and extracted the nginx source to ~/nginx-1.0.11, then downloaded PCRE 8.20 directly since the latest version of the Passenger installer can't download it automatically. I did the typical ...
0
votes
1answer
272 views

CentOS 5.0 PCRE Unicode properties support solution

I am getting the output of "pcretest -C" UTF-8 support **No Unicode properties support** Newline character is LF Internal link size = 2 POSIX malloc threshold = 10 Default match limit = ...
1
vote
2answers
5k views

Fixing Shared PCRE Library on CentOS

This is less a question about PCRE, and more a question about updating shared libraries. The distribution of CentOS I'm running only allows for yum upgrades to version 6.6, or somewhere similar. I'm ...
4
votes
1answer
2k views

How to get pcre 8.x on Ubuntu 10.04 (Linode)

I'm trying to set up Bug Genie 3.x on my Linode server, and it is complaining because I have pcre 7.8 instead of 8.x. Doing an apt-get update and upgrade doesn't help and says that I have the latest ...
2
votes
2answers
14k views

PECL install/phpize error

This is my PHP setup ################################################################## # setup PHP ################################################################## # we use this to make inline ...
6
votes
2answers
619 views
0
votes
2answers
5k views

nginx folder redirect

I'm trying redirect from an exact folder in nginx.conf Given the URL: domain.com/path1/path2/path3 Redirect to: sub.domain.com/path1/path2/path3 Here's what I have so far: location ~* ...
3
votes
3answers
1k views

PHP Kohana CentOS 5

Trying to deploy a Kohana based project in CentOS 5. Installed PHP 5.3.1 but still getting the following error. Warning: preg_match() [function.preg-match]: Compilation failed: this version of PCRE ...
1
vote
1answer
761 views

PCRE isn't UTF8 enabled

I am attempting to run a regex on my site, and I am getting this response: Compilation failed: support for \P, \p, and \X has not been compiled at offset 1 After googling for a bit, I've ...