PQ54035: WELCOME FILE SETUP USING FSE DOES NOT SEARCH SUBDIRS FOR FILES | |||||||||||||||||||||||||||||||||||||
![]() |
|||||||||||||||||||||||||||||||||||||
APAR status Closed as program error. Error description When a welcome page, set up as an html, is served via the File serving enabler (FSE), if there are embedded files (such as images) in the page, and the page is NOT in the doc root, but a subdirectory, the embedded files are not found. For example if a welcome.html is defined in the webapp root of "webapp", it would be access via http://localhost/webapp. If it located in a lower directory, say, test, then http://localhost/webapp/ test will find the html, but will look for graphics in the /webapp (webapp docroot) directory.Local fix Problem summary **************************************************************** * USERS AFFECTED: WebSphere Application Server 4.0.1 * * developers using Welcome files * * using relative links in href or img tags. * **************************************************************** * PROBLEM DESCRIPTION: WebSphere is currently unable to serve * * relative images or use relative * * hyperlinks when requesting welcome * * files that are located in a * * subdirectory of the war root. * **************************************************************** * RECOMMENDATION: * **************************************************************** WebSphere cannot handle welcome file requests if url does not handle in a slash. The html page is located but the webserver is looking in the wrong location for relative images that may be embedded in the page.Problem conclusion Modify the request uri to append a slash to the end if the url is a welcome file request. This will put the webserver in the proper context for handling relative images and hyperlinks.Temporary fix //wasdoc0/apars/pq54035/v4.0.1 Removed since this was a testFix and the code was later rewritten. This defect will be included in 4.0.2.Comments AEServer and AEsServer efix
APAR is sysrouted FROM one or more of the following: APAR is sysrouted TO one or more of the following: Modules/Macros
|
Document Information |
Product categories: Software > Application Servers >
Distributed Application & Web Servers > WebSphere Application
Server > General
Operating system(s):
Software version: 400
Software edition:
Reference #: PQ54035
IBM Group: Software Group
Modified date: Nov 19, 2001
(C) Copyright IBM Corporation 2000, 2006. All Rights Reserved.