Redirect to URL without trailing slash doesn't work in Websphere 8.5.5

303 views Asked by At

In the application I work with, I have the problem described in the bug PI22830 (websphere : PI22830: 404 NOT FOUND ERROR GENERATED FOR A REQUEST WITHOUT A TRAILING SLASH ).

For example:
http://hostname/myApp - fails with 404 error
http://hostname/myApp/ - success

I have the fix pack 12 installed, which contains the solution to the bug (according to the documentation)
I added the "prependSlashToResource" property, without solving the problem (Web container custom properties)

Has anyone had this problem and was able to solve it?
Any recommendations to try or investigate?

From already thank you very much!

1

There are 1 answers

0
Moodi On

According to IBM documentation you can set custom properties in the administrative console click Servers > Server Types > WebSphere application servers > server_name > Web Container Settings > Web container. From Additional Properties, select Custom Properties and add new with name com.ibm.ws.webcontainer.redirectcontextroot and value true.