Hi here is a simple config that gives the error stated:

# Global Directives
User "proxy"
Group "proxy"
# RootJail /var/empty
#Server 3
LogLevel 1

ListenHTTP
    Address 172.18.1.100
    Port 80
    MaxRequest 1024
    xHTTP 0
    Service
        HeadRequire "(Host: www.xxxxxx.mz|Host: www.yyy.mz)"
        Redirect "http://www.zzz.mz";
    End
    Service
        HeadRequire "(Host: xxxx.mz|Host: www.xxx.mz|Host: iiiii.mz|Host:
www.iiiii.co.mz)"
        BackEnd
            Address 192.168.21.21
            Port 3128
        End
    End
End

Thanks for any help.

Regards

Ricardo


--
Ricardo Santos

On Tue, Oct 28, 2014 at 11:23 AM, Ricardo Santos <[email protected]> wrote:

> Thanks Emilio.
>
> With regexp I have some lines stating:
>
> Service
>      HeadRequire "(Host: xxxxx.net|Host: yyyyyyy.net)"
>      Redirect "https://zzzzz.net";
> End
>
> Also this configuration was working with 2.7b
>
> I will try to clean my configuration and post ir here.
>
> Regards
>
> Ricardo
>
>
> --
> Ricardo Santos
>
> On Tue, Oct 28, 2014 at 11:09 AM, Emilio Campos <
> [email protected]> wrote:
>
>> Can you paste your current configuration? It looks like a malformed
>> regexp in some Directive
>>
>> 2014-10-28 9:10 GMT+01:00 Ricardo Santos <[email protected]>:
>>
>>> Hello all.
>>>
>>> I have compiled pound 2.6 pcidss version with openssl 1.0.1j.
>>>
>>> But when I start pound (even just pound -V or pound -c) it gives me an
>>> error:
>>>
>>> #pound -c
>>> starting...
>>> bad config Regex - aborted
>>>
>>> Surely I made something wrong, so can anyone help me figure what went
>>> wrong?
>>>
>>> Regards
>>>
>>> --
>>> Ricardo Santos
>>>
>>
>>
>>
>> --
>> Load balancer distribution - Open Source Project
>> http://www.zenloadbalancer.com
>> Distribution list (subscribe):
>> [email protected]
>>
>
>

Reply via email to