I'm having great difficulty getting a very simple thing to work. A patch in gmap gives the following advice in the admin settings:
You are using the Private download method. For markers to work properly. you must press the Regenerate button, manually copy js/gmap_markers.js from the files directory to a location accessible by the webserver, and enter the file path relative to the Drupal root in this field
My problem is with "the file path relative to the Drupal root". Since it will almost certainly be outside the drupal system it will start with ../ . But the webserver won't accept that if you have, as I do, a domain pointing to the drupal root that everyone is using.
Since this must be a common situation how are we supposed to get round it? Is there a directory inside the Drupal root that the Apache settings tolerate?
Chris
Comments
=-=
why store it out of the drupal system ?
why not store it in your theme folder? or the misc folder in the drupal root? or create a new folder at the drupal root to hold this?
Everything in drupal is relative to drupal's index.php which I believe would allow you to use a relative path without ../ or ./
because it doesn't seem to
because it doesn't seem to work.
The issue as I understand it is that it's Google that wants to see the .js file not the local webserver. It's some time since I dug into the mysteries of Apache directives and I haven't got manual with me - but there's a deny from all up the tree and the only suggestion i've seen is to excuse .js files from that.
Chris