Ok, in your http.conf file for apache add these lines at the LoadModule section:
LoadModule rewrite_module modules/mod_rewrite.so LoadModule jk_module modules/mod_jk.so Now at the bottom of the http.conf file add the following: RewriteEngine on RewriteRule (.*)\.(js|css|xml|xsl|html|asp)$ http://localhost:8080/yourwar/$1.$2 [P,L] RewriteRule "^/(.*)" "http://localhost:8080/$1" [P] ProxyPassReverse / http://localhost:8080/ Of course localhost:8080 will be changed to the address of machine B. You also need to make sure that mod_jk.so and mod_rewrite.so exist in your apache/modules folder for this to work. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3861730#3861730 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3861730 ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ JBoss-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jboss-user
