Re: Serving a different website based on source internet address ?

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



how would hostheaders help if the website is only answering to a single
hostname?

see my previous answer...



"Steven Burn" <somewhere@xxxxxxxxxxxxxxx> wrote in message
news:uhJnbH5yGHA.3908@xxxxxxxxxxxxxxxxxxxxxxx
Why not use DNS and HostHeaders to control this?

--
Regards

Steven Burn
Ur I.T. Mate Group
www.it-mate.co.uk

Keeping it FREE!

"Skybuck" <skybuck2000@xxxxxxxxxxx> wrote in message
news:1156872455.284085.60900@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
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;

Is this possible with visual basic script ? is there any source code
available
to do this trick ?

Bye,
Skybuck.





.



Relevant Pages

  • Re: FileExists Method
    ... > it only check if the website is up and running. ... >> Dim xmlhttp, strHTTPResponse ... >> Steven Burn ... >> Ur I.T. Mate Group ...
    (microsoft.public.scripting.vbscript)
  • Re: Host headers
    ... Steven Burn ... Ur I.T. Mate Group ... I want users to access this website by entering the URL ... > "mydomainintranet.com" I entered this in the advanced section of IIS ...
    (microsoft.public.inetserver.iis)
  • Re: FileExists Method
    ... >> Dim xmlhttp, strHTTPResponse ... >> Steven Burn ... >> Ur I.T. Mate Group ... >>> this will give a result which tells whether the website is reachable ...
    (microsoft.public.scripting.vbscript)
  • Re: Serving a different website based on source internet address ?
    ... 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: ...
    (alt.comp.lang.borland-delphi)
  • Re: Question for Steven Burn
    ... > Steven Burn ... > Ur I.T. Mate Group ... >> Do you allow the icons on your website to be used in a proprietary ...
    (microsoft.public.vb.general.discussion)