Splash › Forums › PrettyFaces Users › Limit access to *.jsf files › Re: Limit access to *.jsf files
I don’t think this is possible without writing a custom filter. One thing you could try is to create a rewrite rule to redirect the user to /index if /index.jsf is accessed. Something like:
<rewrite match="/(.*).jsf" substitute="/$1" redirect="301"/>
I didn’t test this, but you could try it.
If you find our tools useful, please consider making a donation to help us stay online and building software!