- Messages
- 114
- Reaction score
- 4
- Points
- 18
Hello, so I'm having strange issues with getting logged out of my phpbb3 forum. It's not so much random either... its predictable
Not when posting or browsing the forum, but when I'm in my admin control panel I seem to just loose my login session. Or (especially) if I trigger my custom 404 error page or some type of page that is rewritten using mod_rewrite.
eg; sitemap.php to sitemap.xml -- but never had a problem loosing my login session when entering custom pages that are rewritten until recently.
Also with custom error pages. I have set in .htcaccess ErrorDocument 404 /y_error.php?mode=404
for the custom page. if I trigger it, I get logged out of my board.
After a lot of testing around I think I've narrowed it down to my .htaccess. but I'm not 100% sure. So far, it seems, if a page is redirected because of .htaccess, it tends to log me out of my board.
But the strange part is that my entire board is using mod_rewrite for rewriting URL's and I don't get logged out. I actually never had a problem with that anyway.
All this starting happening about the time I found out we got moved to Apache servers and using Varnish.
I did extensive searching for my issue and bumped into support topics where people say setting php_value request_order GPC worked for them.
I've used php_value request_order GP or php_value request_order GPC and still no difference. actually still not sure if we're allowed to set that in our own .htaccess so I don't know if its working or not...
I've been using this forum software for years so I'm knowledgeable on how to set proper cookie settings and cookie domain settings.
Again, these logout issues only starting to happen after we moved from Lightspeed to Apache servers and Is why im posting this here.
Any ideas what could be wrong?
Not when posting or browsing the forum, but when I'm in my admin control panel I seem to just loose my login session. Or (especially) if I trigger my custom 404 error page or some type of page that is rewritten using mod_rewrite.
eg; sitemap.php to sitemap.xml -- but never had a problem loosing my login session when entering custom pages that are rewritten until recently.
Also with custom error pages. I have set in .htcaccess ErrorDocument 404 /y_error.php?mode=404
for the custom page. if I trigger it, I get logged out of my board.
After a lot of testing around I think I've narrowed it down to my .htaccess. but I'm not 100% sure. So far, it seems, if a page is redirected because of .htaccess, it tends to log me out of my board.
But the strange part is that my entire board is using mod_rewrite for rewriting URL's and I don't get logged out. I actually never had a problem with that anyway.
All this starting happening about the time I found out we got moved to Apache servers and using Varnish.
I did extensive searching for my issue and bumped into support topics where people say setting php_value request_order GPC worked for them.
I've used php_value request_order GP or php_value request_order GPC and still no difference. actually still not sure if we're allowed to set that in our own .htaccess so I don't know if its working or not...
I've been using this forum software for years so I'm knowledgeable on how to set proper cookie settings and cookie domain settings.
Again, these logout issues only starting to happen after we moved from Lightspeed to Apache servers and Is why im posting this here.
Any ideas what could be wrong?