Changes

Jump to navigation Jump to search
m
added external server & proxypassdomain.com references
Line 300: Line 300:  
===Proxy Pass===
 
===Proxy Pass===
   −
*I want to pass some http requests to a server behind my SME Server, how can I do this?
+
*I want to pass some http requests to a server behind my SME Server or external to my site, how can I do this?
   −
You can set a ProxyPass directive that will pass certian requests to an internal server
+
You can set a ProxyPass directive that will pass certain requests to an internal or external server that hosts the domain to be proxypassed
  db domains set internal.server.com. domain Nameservers internet
+
  db domains set proxypassdomain.com domain Nameservers internet
  db domains setprop internal.server.com ProxyPassTarget http://xxx.xxx.xxx.xxx/
+
  db domains setprop proxypassdomain.com ProxyPassTarget http://xxx.xxx.xxx.xxx/
  db domains setprop internal.server.com TemplatePath ProxyPassVirtualHosts  
+
  db domains setprop proxypassdomain.com TemplatePath ProxyPassVirtualHosts  
  signal-event domain-create internal.server.com
+
  signal-event domain-create proxypassdomain.com
   −
{{DrawBoxNote|content=If you have added the internal server's domain name as a virtual domain on the SME Server, you must remove it prior to issueing these commands. This ProxyPass has only been tested with http (not https). Some have reported success with https however YMMV. The server-manager domains panel will show the proxy pass entry but you will not be able to edit it. A ProxyPass panel is in the works, see [[bugzilla:1612]].
+
{{DrawBoxNote|content=If you have added the internal or external server's domain name as a virtual domain on the SME Server, you must remove it prior to issueing these commands. This ProxyPass has only been tested with http (not https). Some have reported success with https however YMMV. The server-manager domains panel will show the proxy pass entry but you will not be able to edit it. A ProxyPass panel is in the works, see [[bugzilla:1612]].
 
}}
 
}}
  
624

edits

Navigation menu