<osbert252
...@yahoo.com> wrote:
> In my application, my styles are in /images and css in /css
> because of the many redirects and urlrewrites, it is difficult to
> anticipate the url structure. I want to know how I can catch all urls
> that contain /images/ and just forward it. this is what i am writing
> but it is not working
> <rule match-type="wildcard">
> <from>/(.*)/images/(.*)</from>
> <to type="redirect" last="true">/images/$2</to>
> </rule>
> <rule match-type="wildcard">
> <from>^/images/*</from>
> <to last="true">/images/$1</to>
> </rule>
> i want to catch urls likehttp://localhost:6060/lalpac/images/but_1.jpg
> and
> http://localhost:6060/lalpac/pr/lk/images/but_1.jpg