| Message |
I had the same problem but got some help from an email sent out to the listserv. Check the ArcIMSParam.js file. My permissions were not set up correctly, so every time I go to make a new website, I have to change my permissions first.
Here is what I got from the email, hope it helps......
The domain name specified in the browser does not match the domain name in the
following lines in the ArcIMSParam.js file:
var imsURL =
'http://true/servlet/com.esri.esrimap.Esrimap?ServiceName=SanFrancisco';
var imsOVURL =
'http://true/servlet/com.esri.esrimap.Esrimap?ServiceName=SanFrancisco';
For example, if a user accesses the web site using
http://204.225.113.3/website/sanFran, they will get a "Permission Denied"
error.
Solution
The best solution is to use a variable that stores the
hostname and uses it in the imsURL and imsOVURL variables. The ArcIMSParam.js
file already
traps this value; it's stored in a variable called hostName; thus, you
can make the following change in the ArcIMSParam.js:
var imsURL = 'http://' + hostName +
'/servlet/com.esri.esrimap.Esrimap?ServiceName=SanFrancisco';
var imsOVURL = 'http://' + hostName +
'/servlet/com.esri.esrimap.Esrimap?ServiceName=SanFrancisco';
This solution will allow the user to access the site using the hostname,
domain or the IP without having to specifically hard code the imsURL and
imsOVURL
variables. |