Ask a questionAsk a question
 

AnswerHostname replacement for outgoing requests

  • Thursday, October 08, 2009 4:08 PMrickyjohn Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    We send messages from an internal app to an external app/webserver (via ISA 2006) where the internal app uses a specific hostname in its http request (we use a Webchaining rule to bridge the http to SSL and we also have an access rule to allow the trafic through to the destination server). This works happilly but we now require the hostname on the request to be changed to a different value (for various reasons I won't go into we can't have our app do this).

    I.e. we send a request to URL http://testserver.bob.job.co.uk/blah and the destination requires the request to be https://newserver.bob.job.co.uk/blah. What I suppose I'm looking for is a similar thing to the web publishing rule which allows you to modify the host value sent onto requests for incoming web server requests?

    Any help greatly appreciated. 

Answers

  • Thursday, October 08, 2009 6:39 PMJim Harrison IsaDewd Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer

    You can only change hosts headers in web publishing rules.
    Basically, you have two choises:
    1. reverse-web-publish the external site to the internal network
    2. send the request to newserver.bob.job.co.uk and change the ISA server hosts file so that it resolves to the same IP as testserver.bob.job.co.uk


    Jim Harrison Forefront Edge CS
  • Monday, October 12, 2009 5:22 AMJim Harrison IsaDewd Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer

    You'll have to:
    1. create a web listener that operates on an ISA internal IP address
    2. create a web publishing rule that uses accepts requests for testserver.bob.job.co.uk and redirects them to newserver.bob.job.co.uk
    3. force the internal app to resolve testserver.bob.job.co.uk to the ISA internal IP


    Jim Harrison Forefront Edge CS

All Replies

  • Thursday, October 08, 2009 6:39 PMJim Harrison IsaDewd Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer

    You can only change hosts headers in web publishing rules.
    Basically, you have two choises:
    1. reverse-web-publish the external site to the internal network
    2. send the request to newserver.bob.job.co.uk and change the ISA server hosts file so that it resolves to the same IP as testserver.bob.job.co.uk


    Jim Harrison Forefront Edge CS
  • Friday, October 09, 2009 7:33 AMrickyjohn Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Jim,

    Thanks for this.

    Option 1. is what we'd have to do then in our case. I'm in the novice stakes when it comes to ISA, any pointers on how this would work would be greatly appreciated (would the reverse-web-publish rule be instead of the access rule? Presumably it would not affect the chaining rule either as we publish a client SSL cert in this chaining rule?).

    Many thanks,
    Rich
  • Monday, October 12, 2009 5:22 AMJim Harrison IsaDewd Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer

    You'll have to:
    1. create a web listener that operates on an ISA internal IP address
    2. create a web publishing rule that uses accepts requests for testserver.bob.job.co.uk and redirects them to newserver.bob.job.co.uk
    3. force the internal app to resolve testserver.bob.job.co.uk to the ISA internal IP


    Jim Harrison Forefront Edge CS