Koozali.org: home of the SME Server
Legacy Forums => General Discussion (Legacy) => Topic started by: girkers on October 11, 2005, 06:28:04 AM
-
I have SME6.5 running in server only mode and have a website on it. What I am trying to achieve is that I have another webserver on my internal network that I am trying to access externally.
I can not use port rediection on my router as it doesn't exist.
I have tried to create a subdomain of xxx.mydomain.com, but this simply points to www.mydomain.com and not to the internal server which I have specified.
-
girkers
Try the proxypass contrib by Darrell May
dmc-mitel-proxypass-0.0.1-3.noarch.rpm
It's OK on 6.0 so I assume should work on sme 6.5
-
It installed alright, but I can't seem to work it out as to where to put which settings.
I first created virutal domain, xxx.mydomain.com and then used the contrib to point that virtual domain to my internal webserver, but nothing happened.
I then deleted all that and then created a ProxyPass URL, /xxx/ as the path and then entered my target as the internal server. When I go to mydomain.com/xxx/ I get the message that URL is not found.
To provide a bit more info, I am using SME 6.5 in server only mode and using a dynamic dns server to host my address.
Any other ideas, the Proxy Pass looks right, but I can't seem to get it to work. :(
-
I found that I had to restart httpd as the contrib does not do this automatically. It would be nice if this was included in version 7.
-
girkers
I think a ProxyPass virtual domain entry is what you would be after for your situation ie directed to another server local IP.
>... I am using SME 6.5 in server only mode...
That may be your problem, you may need your server running in server gateway mode for Proxypass to be effective.
It works quite OK on my 6.0 server gateway box forwarding to another server only sme server.
What about trying the hostnames & addresses panel and redirect the www entry for the particular domain ie add a virtual domain first.
-
>... I am using SME 6.5 in server only mode...
That may be your problem, you may need your server running in server gateway mode for Proxypass to be effective.
Why do I need to run my server in server-gateway mode for ProxyPass to be effective?
-
> Why do I need to run my server in server-gateway mode for ProxyPass > to be effective?
Sorry I said the wrog thing, I was referring to portforwarding not proxypass.
-
See also this excellent article from:
http://www.schirrms.net/sme/SMEApacheReverseProxy.php