Re: Not seeing .css or images

Splash Forums Rewrite Users Not seeing .css or images Re: Not seeing .css or images


Tony Herstell

> What is different about that page?

It has no rules protecting it… :)

If I go through the landing page and login then go to another page I am fine.

I am even fine if I just login and go to the landing page.

The rule only fires if I am not logged in.

I checkin loggedIn status like this:

private Identity identity;
ConfigurationBuilder config = ConfigurationBuilder.begin();
if (this.identity.isLoggedIn()) {

// For now I am happy to allow access to all pages...

else {
.perform(Redirect.temporary(context.getContextPath() + "/pages/landing.xhtml"));
return config;

I am not sure what the HttpCondition achieves as this loginCheck seems to work too well ;)