Question

Error 403 and WAR Folders

  • 31 March 2023
  • 1 reply
  • 6 views

Badge

Sorry this is going to be a bit of a jumbled question:

 

Recently we started having some issues on our FME Server - When accessing the URL "https://<hostname>.<domain>/fmeserver" would return an error 404.

 

I found some information online involving the WAR folders found under: <ServerInstallDirectory>\\Utilities\\tomcat\\webapps\\

 

I followed the steps and regenerated the folders. Now when I access the URL: "https://<hostname>.<domain>/fmeserver" is works correctly!

 

However... Now with the newly created WAR folders if I access the URL: "https://<hostname>.<domain>" (note: specifically excluding the /fmeserver) I get an error 404 not found. Previously we never had an issue with this.

 

We have had some security policies updated recently by the security team, and I believe this could be the cause but I'm not 100% certain. If anyone has any ideas as to what would be causing this issue I'd love to hear it.

 

Thanks!


1 reply

Userlevel 5
Badge +29

I'm assuming that you're connecting directly to tomcat here, not going via a reverse proxy like IIS/ARR.

 

Websites act like folders, "https://<hostname>.<domain>" is the root folder, and it has the folder "fmeserver" under it ("https://<hostname>.<domain>/fmeserver"). In that root folder, there is no webiste data or anything for hte browser to show, hence the 404 (not found). Under the "fmeserver" folder, there is data, so a website is being displayed.

 

What needs to be setup is a redirect from the root folder to the fmeserver folder. It looks like this should solve it - https://community.safe.com/s/article/FME-Server-Upgrade-Provide-your-own-version-of-Tomcat#URLRedirect

 

Reply