🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.internet.socket
Article #95

Virtual Path to a certain port

#95
From: Colin B Maharaj
Date: Thu, 01 May 2008 02:40
18 lines
1597 bytes
Hi all, I have a few applications on the same machine
each with a web server on their own respective ports.
I want to create a virtual directory or path so that
if I browse to the machine on port 80 and path service1
it goes to port 8081 on the same PC...etc etc...
e.g.

http://192.168.0.100/service1     ->  http://192.168.0.100:8081
http://192.168.0.100/service2     ->  http://192.168.0.100:8082

What is the best way to approach this.
NOTE: The applications use the unique IP of the 'logging in' clients
to be able to authenticate, however through this arrangement, the
ip may not propagate to the services. How should this be handled

Thanks all!!

Colin B Maharaj
Technical Details
Message-ID: <48192dad$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news2.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,65ebc0f19b5b7f8f,start
X-Google-Attributes: gid11508e,domainid0,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
Date: Wed, 30 Apr 2008 22:40:47 -0400
From: Colin B Maharaj <noreply@myhost.com>
User-Agent: Thunderbird 2.0.0.12 (Windows/20080213)
MIME-Version: 1.0
Newsgroups: borland.public.cppbuilder.internet.socket
Subject: Virtual Path to a certain port
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Antivirus: avast! (VPS 080430-1, 04/30/2008), Outbound message
X-Antivirus-Status: Clean
NNTP-Posting-Host: 190.58.55.115
Message-ID: <48192dad$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1209609645 190.58.55.115 (30 Apr 2008 19:40:45 -0700)
Lines: 21
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news2.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail