Re: regexp look-ahed pattern problem

Splash Forums PrettyFaces Users regexp look-ahed pattern problem Re: regexp look-ahed pattern problem

#21429

m1m
Participant

another problem:

I have this

<rewrite match=".*(?!/javax.faces.resource/).*.html" substitute="/"/>

it’s only rule in pretty-config, when I enter

http://127.0.0.1/webapp/javax.faces.resource/style.css.html?ln=css

got redirected to:

http://127.0.0.1/webapp/?ln=css

EDIT: SOLVED

<rewrite match="^(?!.*/javax.faces.resource/).*.html.*$" substitute="/" outbound="false"/>