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.
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: