Forum Discussion

Brian_'s avatar
Brian_
Icon for Nimbostratus rankNimbostratus
May 26, 2015

Help with rewrite profile for Intranet site through APM

I'm trying to get an Intranet site accessible through an external virtual server. For the purposes of this question, let's say I've got an internal application:

http://intranet

Which I've made accessible via APM as:

http://outside.mycompany.com

and in order to do that I've got APM calling it as:

http://intranet.internaldomain.com

I can get to the start page of the application once I specified the FQDN. However, the application has links which all point to its host name only. One click on a non-relative link and the whole thing falls apart, and APM informs me that the name could not be resolved.

From what I've read, I am reasonably sure there's a way to make use of a rewrite profile to fix this, but I've not been very lucky in getting it to work. To get the default page to answer at all, I needed to specify the FQDN within APM.

I haven't been able to find relevant documentation/examples for this specific setup. Is a rewrite profile what I want? I know I can probably do this via an iRule, but I am perhaps too stubborn and it seems a rewrite profile should do the trick. If that's not true, or I'm missing something important, please let me know!

After this is resolved, I would also want to know how to get around the lack of an FQDN on the internal side, since other servers I want to access this way will not have a valid FQDN at all, only host names similar to this one.

Thanks in advance.

2 Replies

  • Were you ever able to get this figured out? We are stuck on this exact same situation.

     

    • Brian_'s avatar
      Brian_
      Icon for Nimbostratus rankNimbostratus
      Unfortunately no, and I didn't spend any more time on it yet. I believe I've convinced the business to change their systems to use an FQDN instead, and just keep a virtual server with a redirection iRule in place for the stragglers. It's not ideal, but I didn't have any more time to throw at it.