Need a web page that responds with Local server name

J

James

We have two Windows Server 2003 Web servers behind an F5 load
balancer("server1" and "server2"). Application requests are via the dns name
of this "cluster" ("servervip"). The application needs to return the name of
the server the handles the request (asp) so the application can check a local
security group on that server to grant or deny access to that appliation.
Why this way? I don't know, I did not write the app...
Request.ServerVariables, which works perfectly with direct request to one of
the servers (bypassing the virtual), returns empty when called throught the
virtual. Hard coding the server name in the asa, ini or other is not an
option.

Best regards,
James
 
L

Lance Wynn

http://www.aspfaq.com/show.asp?id=2263

These may help you out.


We have two Windows Server 2003 Web servers behind an F5 load
balancer("server1" and "server2"). Application requests are via the dns
name
of this "cluster" ("servervip"). The application needs to return the name
of
the server the handles the request (asp) so the application can check a
local
security group on that server to grant or deny access to that appliation.
Why this way? I don't know, I did not write the app...
Request.ServerVariables, which works perfectly with direct request to one of
the servers (bypassing the virtual), returns empty when called throught the
virtual. Hard coding the server name in the asa, ini or other is not an
option.

Best regards,
James
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,756
Messages
2,569,534
Members
45,007
Latest member
OrderFitnessKetoCapsules

Latest Threads

Top