You could have both.  Have an images directory within your war build and
have it under webapps.  Then use the following setup in your httpd.conf to
point to the directory where you have images in your webapps directory.


DocumentRoot "/usr/local/appserver/webapps/application/images"

-----Original Message-----
From: Curtis Brown [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 17, 2003 9:52 AM
To: [EMAIL PROTECTED]
Subject: [OT] serving images with apache


I am considering what server configuration to use.  What is the
current best practices as far as using a servlet container fronted by
a web server (e.g. tomcat with apache)?  On one hand I like the idea
of having everything self contained in a war file, and just using the
servlet container to serve everything.  On the other hand, I have
heard it is best to have a web server like apache serve out static
content like images.  What configuration are you using in a production
evnironment?

Thanks,
Curt




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to