Apache ProxyPass到其他计算机上的Jboss

Apache ProxyPass到其他计算机上的Jboss,apache,apache2,jboss5.x,mod-proxy,Apache,Apache2,Jboss5.x,Mod Proxy,我在不同的机器上有apache服务器和JBoss服务器。我想将mydomain.com的流量重定向到JBoss 192.168.1.100:8080 下面是配置 NameVirtualHost *:80 <VirtualHost *:80> ProxyRequests Off ServerName mydomain.com <Proxy *> Order deny,allow Allow from all </Proxy> ProxyPass / htt

我在不同的机器上有apache服务器和JBoss服务器。我想将mydomain.com的流量重定向到JBoss 192.168.1.100:8080

下面是配置

NameVirtualHost *:80

<VirtualHost *:80>
ProxyRequests Off
ServerName mydomain.com
<Proxy *>
Order deny,allow
Allow from all

</Proxy>

ProxyPass / http://192.168.1.100:8080/  
ProxyPassReverse / http://192.168.1.100:8080/
ProxyPassReverseCookiePath / /

</VirtualHost>
NameVirtualHost*:80
代理请求关闭
ServerName mydomain.com
命令拒绝,允许
通融
ProxyPass/http://192.168.1.100:8080/  
ProxyPassReverse/http://192.168.1.100:8080/
ProxyPassReverseCokiePath//
当我访问域时,我得到“服务暂时不可用”。如果我在同一台机器上配置jboss,我可以访问


请建议如何访问不同计算机上的作业

您可能需要允许JBoss绑定到本地主机以外的其他地址。编辑standalone.xml文件,并在公共界面中将其设置为

<interfaces>
    <interface name="public">
        <any-address/>
    </interface>
</interfaces>