This content has been marked as final.
Show 6 replies
-
1. Re: static context
jfclere Oct 1, 2009 2:39 AM (in response to leno681)See http://www.jboss.org/mod_cluster/native/config.html
ProxyPassMatch/ProxyPass url ! is what you need.
For example:
ProxyPassMatch ^(/.*\.gif)$ !
will allow httpd to server directly the .gif files. -
2. Re: static context
leno681 Oct 1, 2009 5:04 AM (in response to leno681)"jfrederic.clere@jboss.com" wrote:
See http://www.jboss.org/mod_cluster/native/config.html
ProxyPassMatch/ProxyPass url ! is what you need.
For example:
ProxyPassMatch ^(/.*\.gif)$ !
will allow httpd to server directly the .gif files.
But ProxyPassMatch didnt work for me. I recieve http error 500. Error is
mod_manager.c(1899): manager_handler GET (/var/www/static_content/_cms/images/pinko.jpg) processing: ""
mod_manager.c(1601): manager_handler GET error: SYNTAX: Command is not supported -
3. Re: static context
jfclere Oct 1, 2009 7:09 AM (in response to leno681)Weird... Could you make you httpd conf available somewhere?
-
4. Re: static context
leno681 Oct 1, 2009 8:14 AM (in response to leno681)"jfrederic.clere@jboss.com" wrote:
Weird... Could you make you httpd conf available somewhere?
This is VirtualHost
#RewriteEngine On
#RewriteLogLevel 2
#RewriteLog /var/log/httpd/rewritebanaint.log
#JKMount /isSessionValid/* bin
#JKMount /returnHtmlFromUrl/* bin
#JKMount /status/* status
#JKMount /* bin
#JKMount /BIN/* bin
#JKUnMount /usage/* bin
ProxyPassMatch ^(/.*\.jpg)$ !
AddOutputFilterByType DEFLATE text/html text/plain text/xml text/xhtml text/css text/javascript
#ProxyPass /BIN/ balancer://mycluster/
ManagerBalancerName bintest
AdvertiseFrequency 5
KeepAliveTimeout 15
MaxKeepAliveRequests 0
SetHandler mod-cluster
<Location /mod_cluster-manager>
SetHandler mod_cluster-manager
Order deny,allow
Deny from none
Allow from all
-
5. Re: static context
jfclere Oct 1, 2009 9:30 AM (in response to leno681)Remove the SetHandler mod-cluster
-