Re: Default “deny”

Splash Forums Rewrite Users Default "deny" Re: Default “deny”

#22787

pavel.arnost
Participant

Hi,

I tried:

ConfigurationBuilder.begin()

.addRule(Join.path(“/”).to(“/index.html”).perform(Lifecycle.handled()))

.addRule(Join.path(“/login”).to(“/login.html”).perform(Lifecycle.handled()))

.addRule(Join.path(“/registration”).to(“/registration.html”).perform(Lifecycle.handled()))

.addRule(Join.path(“/myProfile”).to(“/myProfile.html”).perform(Lifecycle.handled()))

.defineRule()

.when(Direction.isInbound().and(DispatchType.isRequest()))

.perform(Redirect.temporary(“/”))

but it’s the same.