Select to view content in your preferred language

change rest directory

1151
3
11-04-2010 08:41 PM
by Anonymous User
Not applicable
Hi there,

I implement resevse proxy server on apache server and convert internal map services from
http://myInternalServer/arcgis/rest/services/....
to
http://myExternalServer/GisSpatial/arcgis/rest/services/....

I set all config files in c:\innetpub\wwwroot,
If I just input the http://myExternalServer/GisSpatial/arcgis/rest/services/...., it can works, but
in the MapServer page, layers or other internal web link still point to
http://myExternalServer/arcgis/rest/services/....
So I have to changed the link everytime when i want to access

Could you tell me which config file should be modified to change it.

Regards,

Bing
3 Replies
by Anonymous User
Not applicable
Hi Bing,

If you review the Exposing your services to external users link in the help, you should find detailed instructions on editing the rest.config to accomplish your goal.

Hope that helps!
Andrew
0 Kudos
by Anonymous User
Not applicable
Hi Bing,

If you review the Exposing your services to external users link in the help, you should find detailed instructions on editing the rest.config to accomplish your goal.

Hope that helps!
Andrew



Thank you for your reply.

I did as same as document, the url in address can works, but when mouse move on the link which in the page, the link still points to http://myExternalServer/ArcGIS/rest/services.
If I want to browse each folders/layers detail, I will get error then I have to change its url to
http://myExternalServer/GisSpatial/ArcGIS/rest/services..., after this i can access the page successfully.
by Anonymous User
Not applicable
Bing,

Did you clear the cache through the REST Admin?

Andrew
0 Kudos