Serving a different website based on source internet address ?
- From: "Skybuck" <skybuck2000@xxxxxxxxxxx>
- Date: 29 Aug 2006 10:35:22 -0700
Hello,
Based on the source internet address a different version of the website
should be presented/served to the user/browser.
For example in pseudo code:
if SourceAddress = '143.3.5.1' then
begin
ShowBlueWebsite; // Load/Show BlueIndex.htm
end else
if SourceAddress = '124.5.15.7' then
begin
ShowRedWebsite; // LoadShow RedIndex.htm
end;
I can think of two ways how to do this in delphi in conjunction with a
webserver:
1. The classic CGI method. This means writing an executable.
2. The new .NET / Web application method.
Before I attempt to write something like that myself, I ask the members
of this newsgroup if they have any source code available or any web
development skills which might come in handy.
Maybe somebody can quickly write some demonstration code ?
Bye,
Skybuck.
.
- Follow-Ups:
- Re: Serving a different website based on source internet address ?
- From: J French
- Re: Serving a different website based on source internet address ?
- From: Nicholas Sherlock
- Re: Serving a different website based on source internet address ?
- Prev by Date: Re: RxTools for Delph 5...
- Next by Date: Re: Serving a different website based on source internet address ?
- Previous by thread: RxTools for Delph 5...
- Next by thread: Re: Serving a different website based on source internet address ?
- Index(es):
Relevant Pages
|