When you are defining a dynamic Welcome file within the
Application Assembly Tool (AAT), you must also select the File serving
enabled option from the IBM Extensions tab.
Consider the following example:
A Web application is defined with the context root of /myapp on
localhost. The application has been defined with a Welcome file of
default.jsp, but File serving enabled is set to
false.
When a user makes a request for the following URL, it will not pass the
plug-in:
http://www.hostname/myapp
In this scenario, using the internal transport will also fail:
http://www.hostname:9080/myapp
When the File serving enabled option is set to true,
the request will be processed by WebSphere® Application Server and the
Welcome file is served properly.
Another Workaround:
If you do not want to set the File serving enabled option to
true, you can also consider the option, redirect the request
from the Web server. In the case of IBM® HTTP Server, you can
configure the httpd.conf file to redirect the request to a
dynamic page. The following changes are required in the
httpd.conf file:
DirectoryIndex index.html
Redirect /index.html http://www.hostname/default.jsp
The index.html file needs to exist in the context root of the
Web server.
|