Tapajyoti Roybarman wrote:
Hi,
Could you please let me know that how can I serve static content like
image files, css files through Apache Webserver instead of Tomcat?
That is the normal thing that an Apache httpd webserver does.
Please
let me know about all the required configurations in detail.
That infomation is available on-line : http://httpd.apache.org/docs/2.2/
I am
connecting Apache webserver and Tomcat using mod_proxy_http module.
Right. So *unless you specify otherwise*, all content will be served by Apache
httpd.
It is only *when you explicitly specify otherwise* that Apache httpd will forward some
requests to Tomcat.
Sugestion : from your Apache httpd configuration,
1) start by removing anything that refers to mod_proxy_http.
Once you have done that, *everything* will be served by Apache httpd (image files, css
files, html pages, everything).
2) once you have succeeded in the above, /then/ re-introduce your mod_proxy_httpd-related
statements, to *selectively* forward some URLs to Tomcat.
Et voilà !
It reminds me a bit of the story about a sculptor, who was aked how he sculpted a horse
from a big block of stone. He answered that it was very easy : you just remove from the
stone everything that is not a horse.
Also,
please find below some information that you may require.
That was good of you to supply this information. Many people do not, and that always
causes delayed responses.
Apache Webserber Version - 2.2.25
Apache Tomcat Version - 7.0.27
OS - Windows 7
Thanks in advance,
Best Regards,
Tapajyoti Roy Barman
Ph:- +919433040094
Mailto: tapajyoti.roybar...@tcs.com
=====-----=====-----=====
Notice: The information contained in this e-mail
message and/or attachments to it may contain
confidential or privileged information. If you are
not the intended recipient, any dissemination, use,
review, distribution, printing or copying of the
information contained in this e-mail message
and/or attachments to it are strictly prohibited. If
you have received this communication in error,
please notify us by reply e-mail or telephone and
immediately and permanently delete the message
and any attachments. Thank you
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org