Changes

Jump to navigation Jump to search
Line 303: Line 303:     
You can set a ProxyPass directive that will pass certian requests to an internal server
 
You can set a ProxyPass directive that will pass certian requests to an internal server
  db domains setprop internal.server.com. TemplatePath ProxyPassVirtualHosts ProxyPassTarget http://xxx.xxx.xxx.xxx/
+
db domains set internal.server.com. domain Nameservers internet
  expand-template /etc/httpd/conf/httpd.conf
+
  db domains setprop internal.server.com ProxyPassTarget http://xxx.xxx.xxx.xxx/
  /etc/init.d/httpd-e-smith restart
+
  db domains setprop internal.server.com TemplatePath ProxyPassVirtualHosts
 +
  signal-event domain-create domain.to.proxy
    
{{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 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]].
}}  
+
}}
 
      
===Shell Access===
 
===Shell Access===

Navigation menu