Changes

Jump to navigation Jump to search
Line 297: Line 297:     
For a virtual domain to be effective (for email or web), it needs to be configured as INTERNET DNS SERVERS (this is the default value). Since the domain resolves via INTERNET DNS SERVERS, no hostnames or addresses are created locally. For more info please visit the Administration Manual section regarding Domains: [[http://wiki.contribs.org/SME_Server:Documentation:Administration_Manual:Chapter13#Domains]]
 
For a virtual domain to be effective (for email or web), it needs to be configured as INTERNET DNS SERVERS (this is the default value). Since the domain resolves via INTERNET DNS SERVERS, no hostnames or addresses are created locally. For more info please visit the Administration Manual section regarding Domains: [[http://wiki.contribs.org/SME_Server:Documentation:Administration_Manual:Chapter13#Domains]]
 +
 +
===Proxy Pass===
 +
 +
*I want to pass some http requests to a server behind my SME Server, how can I do this?
 +
 +
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/
 +
expand-template /etc/httpd/conf/httpd.conf
 +
/etc/init.d/httpd-e-smith restart
 +
 +
{{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]].
 +
}}
     

Navigation menu