suci91 Posted February 9, 2015 Report Share Posted February 9, 2015 Hai, i got a problem. i cannot switch administrator account to default manager vise versa before i manually refresh the page. i really hope anybody can help me to fix this. Quote Link to comment Share on other sites More sharing options...
redstorm Posted July 15, 2015 Report Share Posted July 15, 2015 I have a Prod and a Dev server, my dev server switching works fine between default and admin in revive, on my prod server this requires a page refresh like the OP to force the user account change. The difference between the two servers is mod_expires (apache module) is configured on the production server to help with client caching, i think this is the primary candidate to start looking at to see if its interfering with the revive pages. I'll be updating my sight in the next few days so will comment out the suspected mod and see if revive behaves properly. The other difference between the servers is prod is running mod_deflate to compress content on the fly. Quote Link to comment Share on other sites More sharing options...
redstorm Posted July 15, 2015 Report Share Posted July 15, 2015 My suspicion was correct im my case mod_expires was causing the client to cache the pages instead of refreshing them on user switch. To get around this i have created an .htaccess file in the revive directory with "ExpiresActive Off" Add to your virtual host config <Directory var/www/adserver> Options Indexes FollowSymLinks MultiViews AllowOverride Indexes Order allow,deny allow from all </Directory> restart apache and test. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.