Select to view content in your preferred language

Access to Arcgisoutput Folder From Internet

1116
3
12-04-2012 10:34 PM
SlobodanKostic
Deactivated User
Hi all,
I have a problem with accessing arcgisoutput folder from Internet. In previous versions there was a virtual arcgisoutput folder accessible from Internet and now in 10.1 ArcGIS Server should handle this automatically.
I have a FLEX application with Print widget that uses PrintingTools service from ArcGIS Server 10.1. Service creates exported map file (pdf, jpg...) in arcgisoutput folder but url of the file begins with hostname of the web server instead of the IP address. That is OK when accessing file from local network but not if accessing from Internet.
Example of url:
http://webserver1.domain.local/arcgis/rest/directories/arcgisoutput/Utilities/PrintingTools_GPServer...

Instead of server's hostname it should be its IP address and that way NAT device would translate it to public address and access would be possible.

Thanks for any help. I am lack of ideas, tried everything I know.
Tags (2)
0 Kudos
3 Replies
StevenMoore1
Esri Contributor
You can try setting the WebContextURL from the Admin API.  To do this, browse to http://<servername>/arcgis/admin, then to System-->Properties-->Update. Enter the following JSON in the window:

{
"WebContextURL": "http://<externalURL>/arcgis"
}

This URL should then be used for any requests from the web.
0 Kudos
SlobodanKostic
Deactivated User
Steve,
Thank you for the help. Unfortunately it didn't solve the problem. url of exported map still begins with web server name.
0 Kudos
MayJeff
Deactivated User
How do you solve this problem? 
Thanks.
0 Kudos