Changes

Jump to navigation Jump to search
Line 265: Line 265:  
*I want to pass some http requests to a server behind my SME Server or external to my site, 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 certain requests to an internal or external server that hosts the domain to be proxypassed
+
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 proxypassdomain.com domain  
 
  db domains set proxypassdomain.com domain  
 
  db domains setprop proxypassdomain.com Nameservers internet
 
  db domains setprop proxypassdomain.com Nameservers internet
Line 273: Line 273:  
where proxypassdomain.com is the domain name hosted on the internal or external server
 
where proxypassdomain.com is the domain name hosted on the internal or external server
 
and http://xxx.xxx.xxx.xxx/ is the IP address of the internal or external server eg 192.168.1.20 or 122.456.12.171 (it must be the publicly accessible IP if an external server)
 
and http://xxx.xxx.xxx.xxx/ is the IP address of the internal or external server eg 192.168.1.20 or 122.456.12.171 (it must be the publicly accessible IP if an external server)
 +
 +
 +
To delete a ProxyPass directive that you previously set up:
 +
db domains delete proxypassdomain.com
 +
signal-event domain-delete proxypassdomain.com
 +
 
{{Note box|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 issuing these commands. The server-manager domains panel will show the proxy pass entry but you will not be able to edit it, see [[bugzilla:1612]].
 
{{Note box|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 issuing these commands. The server-manager domains panel will show the proxy pass entry but you will not be able to edit it, see [[bugzilla:1612]].
 
}}
 
}}

Navigation menu