Ramakanta Sahoo
asked on
Mapping static files using WebSphere App Server
Hi,
Is there any way where I can use WebSphere Application server as webserver like in Weblogic.
I have few aliases which points to different directories like below:
Alias /ab_image/ "/opt/Resource/images/"
the above way i map it in IHS and it works fine. but I want to know without the IHS how I will be able to achieve the same. Like in weblogic I can do it directly without any webserver.
Is there any way where I can use WebSphere Application server as webserver like in Weblogic.
I have few aliases which points to different directories like below:
Alias /ab_image/ "/opt/Resource/images/"
the above way i map it in IHS and it works fine. but I want to know without the IHS how I will be able to achieve the same. Like in weblogic I can do it directly without any webserver.
ASKER
I not that bothered of having security concerns.
As this is my local development WAS instance i just want to know the configurations to make it work. I mean my aliases will work.
Alias /ab_image/ "/opt/Resource/images/"
If anything can be done to make it available then it will be great help for me.
As this is my local development WAS instance i just want to know the configurations to make it work. I mean my aliases will work.
Alias /ab_image/ "/opt/Resource/images/"
If anything can be done to make it available then it will be great help for me.
Ah, ok, in that case, let me look for something to help you out.
ASKER
Any possible solutions??!!
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
So where shall i put this custom property and how.
For my instance I need alia like below
Alias /ab_image/ "/opt/Resource/images/"
so when I access http://WAS_HOST_NAME:9080/ab_image/logo.gif
it should go to the images directory and show the logo.
btw thanks a lot for the pointer.
For my instance I need alia like below
Alias /ab_image/ "/opt/Resource/images/"
so when I access http://WAS_HOST_NAME:9080/ab_image/logo.gif
it should go to the images directory and show the logo.
btw thanks a lot for the pointer.
Thanks for the grade & points.
Good luck & have a great day.
Good luck & have a great day.
The "HTTP" server that exists in the WebSphere Application Server product is a thin implementation of an HTTP server. It is not intended to be used as a front end HTTP server.
Doing so would expose your Application Server to the Wild Wild West (aka World Wide Web).
Your Application Server should be behind (at least) 2 firewalls, and your web server (i.e., HTTP server) should be in the demilitarized zone (DMZ) behind (at least) 1 firewall, and with (at least) 1 firewall between it, and the Application Server.
The IBM HTTP Server (IHS) and the websphere plugin work together to provide a great deal of function that does not exist in the WebSphere Application Server (thin) HTTP layer.