tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From André Warnier>
Subject Re: Need Information regarding Apache Webserver static file configuration
Date Wed, 04 Dec 2013 13:14:59 GMT
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.

> let me know about all the required configurations in detail.

That infomation is available on-line :

  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.

> 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:
> =====-----=====-----=====
> 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:
For additional commands, e-mail:

View raw message