tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tapajyoti Roybarman <>
Subject Re: Need Information regarding Apache Webserver static file configuration
Date Mon, 09 Dec 2013 12:30:35 GMT
Hi Andre,

Finally it worked!!!!!!!!!!!!!!!!!!! Thanks a ton.

Below is the setting that I used.

ProxyPassMatch ^/.*\.(gif|jpg|css|png)$! http://localhost:8080/
ProxyPassMatch ^/(.*/servlet/.*)$ http://localhost:8080/$1
ProxyPassMatch ^/(.*\.jsp)$ http://localhost:8080/$1

Now, One final question.

I am using the below settings for Load balancing.

<VirtualHost *:80>
ProxyRequests off 
ServerName localhost
<Proxy balancer://mycluster>
BalancerMember http://localhost:8081/
BalancerMember http://localhost:8082/
Order Deny,Allow
Deny from none
Allow from all
ProxySet lbmethod=byrequests
ProxyPass /balancer-manager !
ProxyPass / balancer://mycluster/

How do I merge this with the static content settings (ProxyPassMatch ) 
that I have used above. Please note that both settings are working fine 
when given individually. But how am I supposed to combine these two?

Thanks again for all your help.

Tapajyoti Roy Barman
Ph:- +919433040094
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

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message