stratos-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Imesh Gunaratne <im...@apache.org>
Subject Re: Unable to log into phpmyadmin via LB
Date Sun, 06 Apr 2014 19:25:13 GMT
As I noticed the correction which Udara has done has not worked.
I just fixed it and pushed changes to master branch since this was a
blocking issue (hope we could manage the code freeze).

Updated regex:
(^http.?://\b)(.*)(?:(\d*))(.*)

Sample code to test the regex:
String [] urls = {"http://host", "http://host:80", "http://host:80/", "
http://host:80/abc", "http://host:80/?abc=123"};
        String regex = "(^http.?://\\b)(.*)(?:(\\d*))(.*)";

        for(String url : urls) {
            System.out.println("Pattern matched: " + url.matches(regex));
        }

Thanks




On Sun, Apr 6, 2014 at 10:44 PM, Udara Liyanage <udara@wso2.com> wrote:

> Could you enable synapse and loadbalancer debugs logs
>
>
> On Sun, Apr 6, 2014 at 4:13 PM, Isuru Perera <isurup@wso2.com> wrote:
>
>> Which loggers? Could you please be more specific?
>>
>>
>> On Sun, Apr 6, 2014 at 9:40 PM, Udara Liyanage <udara@wso2.com> wrote:
>>
>>> Enable debug logs and send the error log.
>>>
>>>
>>>
>>> Touched, not typed. Erroneous words are a feature, not a typo.
>>>
>>
>>
>>
>> --
>> Isuru Perera
>> Senior Software Engineer | WSO2, Inc. | http://wso2.com/
>> Lean . Enterprise . Middleware
>>
>> about.me/chrishantha
>>
>
>
>
> --
>
> Udara Liyanage
> Software Engineer
> WSO2, Inc.: http://wso2.com
> lean. enterprise. middleware
>
> web: http://udaraliyanage.wordpress.com
> phone: +94 71 443 6897
>



-- 
Imesh Gunaratne

Technical Lead, WSO2
Committer & PPMC Member, Apache Stratos

Mime
View raw message