my application (JSF 1.2) is hosted in Websphere 7.0
for static content i have used IHS server.
to enable static content i have disabled file serving option (set to false).
when i access the application with https://dnsname:port/myapp application is giving 403 error
when i access the application with https://dnsname:port/myapp/index.jsp i am able to access the application.
if i enable file serving (set to true) application is working as expected.
means https://dnsname:port/myapp is working as expected.
please help me out
This topic has been locked.
1 reply Latest Post - 2012-11-19T18:45:02Z by Sunit
Pinned topic 403 error while accessing with only context root
Answered question This question has been answered.
Unanswered question This question has not been answered yet.
Updated on 2012-11-19T18:45:02Z at 2012-11-19T18:45:02Z by Sunit
Sunit 100000DWFV176 PostsACCEPTED ANSWER
Re: 403 error while accessing with only context root2012-11-19T18:45:02Z in response to manohar28Why do you think this is HTTP server issue?
If you have disabled static content on WAS means that WAS will not server static content. But, if the static content is within your application's context root then you will start seeing 403 errors. For using IHS to server static content you have to make the static content assets available under the document root of the HTTP server and your html/jsp should use the IHS server location for these assets.