Koozali.org: home of the SME Server

Mapping URL's to alternate servers

Inq

Mapping URL's to alternate servers
« on: January 04, 2005, 06:06:00 PM »
Hi I'm trying to get my sme to forward to another server.

The address comes in on port 8080 so i tried using port redirection eg

Go in on > globalserver.com:8080
SME should forward to an internal address such as
localserver:8080
but it fails. I know localserver:8080 works because I've punched it into my browser and it pops up.

So I try another solution, edit the httpd.conf (well make a template) and add:

Code: [Select]
ProxyPass /referral/ http://localserver:8080/referral/

so when I goto globalserver.com/referral it should send you to http://localserver:8080/referral/ but it doesnt you just get:

Code: [Select]
The requested URL /referral/ was not found on this server.

I'm confused on how templates work and the documentation is scant on this. Would I screw things up if I edit the httpd.conf directly?

Anyideas on the problem in general?