Expedition logs out on page refresh

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Please sign in to see details of an important advisory in our Customer Advisories area.

Expedition logs out on page refresh

L0 Member

After upgrading Expedition to 1.2.57 we are seeing behavior where upon page refresh while in the Expedition tool we are booted back out to the login screen.  Full disclosure, patching Ubuntu seemed to have broken apache2 so we had to delete apache, then run the Expedition installer script again to get it running again.  We can login and see our projects but when refreshing the page we are being logged out.

2 REPLIES 2

L0 Member

Am seeing the same using 1.2.57 and 1.2.58

L0 Member

I’m wondering if it is something with Apache’s configuration.  

 

####

.htaccess - Apache web server doesn't allow me to refresh on /about but on localhost its working fin...

 

Hey this is actually a pretty common thing.

What's happening is you need to get your apache server to ignore any nested paths and just send all requests /* to root instead. That way your front-end javascript can pick up the route on the client-side and display the correct view.

This is sometimes referred to as "HTML5 Mode" in different webservers.

In apache the way you do this is add a rule like the following:

  RewriteEngine On 

  RewriteCond %{DOCUMENT_ROOT}%{REQUEST_URI} -f [OR]

  RewriteCond %{DOCUMENT_ROOT}%{REQUEST_URI} -d

  RewriteRule ^ - [L]

 

  RewriteRule ^ /index.html [L]

 

What this does is to tell Apache to serve any files that exist, but if they dont exist, just serve /index.html rather than a 404 not found.

  • 853 Views
  • 2 replies
  • 1 Likes
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!