5.1

Table Of Contents
28 vFabric Web Server
28
Configuring vFabric Web Server
Instances
#LoadModule bmx_module c:/opt/vmware/vfabric-web-server/httpd-2.2/modules/mod_bmx.so
#LoadModule bmx_status_module c:/opt/vmware/vfabric-web-server/httpd-2.2/modules/mod_bmx_status.so
#LoadModule bmx_vhost_module c:/opt/vmware/vfabric-web-server/httpd-2.2/modules/mod_bmx_vhost.so
2. To allow BMX access to processes running on hosts other than the localhost, edit the <Location /bmx> directive in
the conf/extra/httpd-info.conf file and add the IP address or fully qualified domain name to the Allow from
directive. For example, to allow myhost.com access in addition to localhost:
<Location /bmx>
SetHandler bmx-handler
Order Deny,Allow
Deny from all
Allow from 127.0.0.1 myhost.com
</Location>
3. To restrict BMX access to a particular virtual host, put the <Location /bmx> directive inside the appropriate
<VirtualHost> directive. For example:
<VirtualHost 10.1.2.3:80>
DocumentRoot "/opt/vmware/vfabric-web-server/myserver/myhost.com/htdocs"
ServerName status.myhost.com
...
<Location /bmx>
SetHandler bmx-handler
Order Deny,Allow
Deny from all
Allow from 127.0.0.1 myhost.com
</Location>
</VirtualHost>
What to do next
Restart the vFabric Web Server instance for the configuration changes to take effect. For example, on Unix:
prompt# cd /opt/vmware/vfabric-web-server/myserver
prompt# bin/httpdctl.sh restart