This content has been marked as final.
Show 3 replies
-
1. Re: How can Apache serve files stored in the WAR file ?
erasmomarciano May 21, 2008 4:26 AM (in response to samfra)Try
http://localhost:8080/mywebapp/img.jpg
The your web-app in structured so
mywebapp.war
img.jpg -
2. Re: How can Apache serve files stored in the WAR file ?
samfra May 21, 2008 4:41 AM (in response to samfra)from Tomcat (port 8080) there is no problem !
I'm talking about APACHE WEB SERVER on port 80... that is serving static files....
thank for reading carefully :-) -
3. Re: How can Apache serve files stored in the WAR file ?
jfclere May 21, 2008 5:09 AM (in response to samfra)You have to copy the images in the httpd machine and configure mod_proxy (or mod_jk) so that it is not serving the image so that the normal httpd logic serves the image.