Table of Contents
Apache HTTP Server Version 2.0 can be configured to redirect http requests to Enhydra multiserver. To obtain such functionality, edit the Apache configuration file:
Uncomment the following lines:
LoadModule proxy_module modules/mod_proxy.so
LoadModule proxy_connect_module modules/mod_proxy_connect.so
LoadModule proxy_http_module modules/mod_proxy_http.soo
Add the following lines (adjusting the access privileges to suit your configuration):
<IfModule mod_proxy.c>
<Proxy *>
Order deny,allow
# Deny from all
Allow from all
</Proxy>
Define the prefixes for enhydra applications, for example:
ProxyPass /poker http://localhost:9006
ProxyPassReverse /poker http://localhost:9006
</IfModule>
Connect to the url corresponding to the prefix, for example:
http://localhost/poker