I am not a websphere guru, and what I have found docmentation wise for websphere assumes you already have in-depth understanding of its architecture and internals. I hope/suspect this is a RTFM question, and someone can enlighten me to where I understand the manual.
I have configured websphere so it properly presents JSP content to both internal and external facing IP's, but it will not present static content to the external facing IP.
When invoked from internal facing IP (http://192.168.1.1/staticContent/123456.pdf), I get the expected results.
When invoked from the external facing IP (http://xxx.xxx.xxx.xxx/staticContent/123456.pdf), I get this:
SRVE0255E: A WebGroup/Virtual Host to handle /staticContent/123456.pdf has not been defined.
SRVE0255E: A WebGroup/Virtual Host to handle xxx.xxx.xxx.xxx:9099 has not been defined.
Nothing is logged in the IHS access or error logs on failed attempt. On a successful (internal facing) attempt 200 or 302 is logged in the access log.
From the port number, I can tell that IHS is directing traffic that I intend to be handled by IHS to the JSP, but only when it's coming over the external facing IP address.
There are five virtual hosts:
admin_host default_host app_prod_host app_test_host proxy_host
The port 9099 is the port that the prod JSP is listening on. Websphere should be directing this address to static content, not the jsp.
The contents of the httpd.conf is:
<snip ...>
UseCanonicalName Off
DocumentRoot "//staticContentServer/staticContent"
#
# This should be changed to whatever you set DocumentRoot to.
#
<Directory "//staticContentServer/staticContent">
Options FollowSymLinks
AllowOverride None
Order allow,deny
Allow from all
</Directory>
</... snip>
Under virtual Hosts => app_prod_host => Host Aliases, the configurations is:
* 9444
* 9045
* 9099
* 9062
* 80
192.168.1.1 80
mydnsname 80
mydnsname.mydomain.com 80
A link I have found helpful is this: https://publib.boulder.ibm.com/httpserv/manual70/vhosts/examples.html Unfortunately, the application I am deploying is a third party application with largely predefined configurations. I believe that configuring through the Virtual Hosts > app_prod_host > Host Aliases UI would accomplish the same thing as configuring via XML (confirmation or rebuttal appreciated).
What am I missing or do I have surplus?