Re: WARNING: JSF1064: Unable to find or serve resource, core/core.js, from library,

Splash Forums PrettyFaces Users WARNING: JSF1064: Unable to find or serve resource, core/core.js, from library, Re: WARNING: JSF1064: Unable to find or serve resource, core/core.js, from library,

#20461

First, you probably want to delete the example rewrite rules:

<rewrite trailingSlash="append" toCase="lowercase" />
<rewrite match="^/old-url/(w+)/$" substitute="/new_url/$1/" redirect="301" />

But if there is a reason you need this:

<rewrite trailingSlash="append" toCase="lowercase" />

Then I suggest adding a match="" attribute that restricts what the rule applies to. By default these rules apply to *every* inbound request.

You probably want something more like this: (you’ll have to test to see what you actually need)

<rewrite match="(/\w*)+" trailingSlash="append" toCase="lowercase" />

You can read the docs on rewrite rules here: http://ocpsoft.com/docs/prettyfaces/snapshot/en-US/html_single/#inbound_rewriting.matching