We help IT Professionals succeed at work.
Get Started

Map client to alternate virtual directory based on url prefix?

127 Views
Last Modified: 2016-02-17
I have an app that has an external url that is different from the internal url.  Lets refer to them as:

https://external.app.com/virtualdir/app.exe   (uses to forms based authentication)

and

http://internal.app.com/virtualdir/app.exe   (uses integrated authentication)

Currently the external url is being served up via a lightweight proxy which we plan to eliminate in favor of a direct connection via an F5 device.  

However, on the iis7 webserver (server 2008), /virtualdir is set to integrated authentication.  Is there a way to detect that the client is using "external.app.com" and map them to the forms based virtual directory,  /virtualdirforms for example, all while keeping the /virtualdir url syntax on the client?  

I know I can create a new website on the server and create another /virtualdir with forms based authentication set, but from what I gather, it would require another IP to be allocated to the server, which would require I jump through a bunch of red tape that I don't want to do.

Hopefully this makes sense, I can clarify if need be.
Comment
Watch Question
Manager - Infrastructure:  Information Technology
CERTIFIED EXPERT
Commented:
This problem has been solved!
Unlock 2 Answers and 3 Comments.
See Answers
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant

An Experts Exchange subscription includes unlimited access to online courses.

Get Started
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE