I am running DSpace 1.5.2 inside tomcat 2.6.20 along with apache 2.x for redirection. My apache config file are:

<VirtualHost *:80>
  RewriteEngine on

# Redirect / to /ui
  RewriteCond %{REQUEST_URI} ^/
  RewriteRule ^/$ /ui/ [R]

# Disable apache caching for all repository content, this will be handled by tomcat
CacheDisable /ui

(I use ui instead of xmlui)


ProxyPass /ui ajp://localhost:8009/ui
ProxyPassReverse /ui ajp://localhost:8009/ui

Everything seems to work fine however I have an intermittent problem. If I login as one user, and navigate to some pages, log out and login as another user, then when navigating through various pages I see where the current eperson changes from the currently logged in user to the previously logged in user. If however I connect to the site directly via http://xxx:8080/ui then I don't have this problem.

I am using firefox 3.5 and ie 7 and the results are the same. Can anyone who uses the apache infront of tomcat say whether I an doing  something wrong.