Reply To: Rewrite + Apache Shiro

Splash Forums Rewrite Users Rewrite + Apache Shiro Reply To: Rewrite + Apache Shiro

#23890

zozan
Participant

Yes Christian, Shiro automatically redirects you to the page you’ve been first or the one you are trying to reach(You entered the URL of that page in the address bar). I already changed the URLs in shiro.ini to the rewriten ones and my web.xml Shiro fileter includes<dispatcher>FORWARD</dispatcher>. but it didn’t solve the issue. This is Shiro filter in my web.xml file and I don’t have RewriteFilter?:
<listener>
<listener-class>org.apache.shiro.web.env.EnvironmentLoaderListener</listener-class>
</listener>

<filter>
<filter-name>ShiroFilter</filter-name>
<filter-class>org.apache.shiro.web.servlet.ShiroFilter</filter-class>
</filter>

<filter-mapping>
<filter-name>ShiroFilter</filter-name>
<url-pattern>/*</url-pattern>
<dispatcher>REQUEST</dispatcher>
<dispatcher>FORWARD</dispatcher>
<dispatcher>INCLUDE</dispatcher>
<dispatcher>ERROR</dispatcher>
</filter-mapping>

Btw I am sorry for late replies. We have 8 hours difference in our time zones.

  • This reply was modified 8 years, 8 months ago by  zozan.
  • This reply was modified 8 years, 8 months ago by  zozan.