I am using HTTPServer 188.8.131.52, WAS(Websphere Application Server) 184.108.40.206 on AIX 5.2
For performance issue, I set fileservingenabled=false, so my static content is served by HTTPServer.
But when I need to test application by accessing directly to application server via using HTTPTransportPort at URL(I bypass httpserver), since WAS do not serve static content(js, css,html,jpeg,etc.), application login page crushes.
Is there a way or setting to handle this problem?
I mean if I use virtual host,and access application using httpserver, http server will serve static content, but when I use appication server port, was server should serve static content.
Maybe I'm misunderstanding your situation, but since when does WAS not server static content? You can put the files you speak of (js,css,html,jpeg,etc.) inside a WAR file an access it once it is deployed in an EAR on the server.
As far as I know(actually I test and see) in ibm-web-ext.xmi if you set
This setting prevents WAS from serving static content, and if you access your application using application server port which means bypassing web server(like http://10.5.6.12:9083/mysite/images/button.gif), application server cannot display images.
http://10.5.6.12:80/mysite/images/button.gif - served by WAS through plugin redirection. "/images/button.gif" must exist in the WAS doc root for the app with the context root "mysite" i.e in the war file. Useful for apps where some of the static content is served by WAS and some by Apache.
So "http://10.5.6.12:9083/mysite/images/button.gif" should also work with "fileservingenabled=true"