Chapter G: Installing and Configuring Reverse Proxy Servers for ShoreTel Communicator for iPhone Planning
ShoreTel 11.1 295
G.2 Example Reverse Proxy Configuration for
Apache 2.2
The following script example illustrates how to configure the reverse proxy on port 5500
for connection to the HQ server at
Step 1 Modify httpd.conf to specify proxy port to be used for HTTP+SSL:
# Listen: Allows you to bind Apache to specific IP addresses and/or
# ports, instead of the default. See also the <VirtualHost>
# directive.
# Change this to Listen on specific IP addresses as shown below to
# prevent Apache from glomming onto all bound IP addresses.
Listen 5500
Step 2 Verify in httpd.conf that the following modules are enabled (uncommented):
LoadModule proxy_module modules/
LoadModule proxy_http_module modules/
LoadModule rewrite_module modules/
LoadModule ssl_module modules/
Step 3 Edit conf\extra\ httpd-vhosts.conf:
# Use name-based virtual hosting.
NameVirtualHost *:5500
<VirtualHost *:5500>
# necessary for rewriting
RewriteEngine on
# uncomment the logging for problem trace only
# RewriteLog "logs/ciproxy.localhost-rewrite.log"
# RewriteLogLevel 3
# NOTE the rewrite rules have a proxy redirect
RewriteRule ^/theme/(.+)$ /director2/theme/$1 [P]
RewriteRule ^/yui_2.7.0/(.+)$ /director2/yui_2.7.0/$1 [P]
RewriteRule ^/js/(.+)$ /director2/js/$1 [P]
ProxyPass /authenticate/
ProxyPassReverse /authenticate/
ProxyPass /cas/
ProxyPassReverse /cas/
ProxyPass /director2/
ProxyPassReverse /director2/
# These are Optional
ErrorLog "logs/ciproxy.localhost-error.log"
CustomLog "logs/ciproxy.localhost-access.log" combined
# SSL Engine Switch:
Terms of Use | Privacy Policy | DMCA Policy