Parse URL from GP request using ArcPy

311
1
Jump to solution
10-18-2012 12:31 PM
BradleyJanke
New Contributor III
I have a box with multiple domains pointing to it and would like to load settings based on the domain from within the ArcPy GP service.

Do I have access to the http request from within ArcPy?  Is it possible to get the domain from which the GP service is being requested on?  Is there a better way to accomplish this task?

Thanks
Tags (2)
0 Kudos
1 Solution

Accepted Solutions
BradleyJanke
New Contributor III
Instead of parsing the URL inside of the GP script I sent a key, from the client, as an input parameter that is used to lookup the associated configuration.

View solution in original post

0 Kudos
1 Reply
BradleyJanke
New Contributor III
Instead of parsing the URL inside of the GP script I sent a key, from the client, as an input parameter that is used to lookup the associated configuration.
0 Kudos