Re: [solved] Rewriting occur on physical file request

Splash Forums PrettyFaces Users [solved] Rewriting occur on physical file request Re: [solved] Rewriting occur on physical file request

#20154

mmanco
Participant

Yes, I understand that it is possible to restrict it to a specific pattern but again I don’t get the idea why there should be an automatic rewriting to physical files.

Now I should catch all file extensions in the match expression.

What will happen if I miss one ?

In case someone want to rewrite URL to a file he should map it.

<url-mapping id="styles">
<pattern value="/css/style.css" />
<view-id>/themes/dark/style.css</view-id>
</url-mapping>