I'm using OpenLayers to send a POST request to a PHP script within my subdomain and I get the http error
405 Method Not Allowed.
I'm using OpenLayer's Request namespace to do this.
When I create Request namespace it looks something like:
OpenLayers.Request.POST({
url:"/sites/default/files/scripts/print/print.php",
data:OpenLayers.Util.getParameterString({
width:size.w,
height:size.h
}),
headers:{'Content-Type':'application/x-www-form-urlencoded'},
callback: processResults
});
On my local Ubuntu machine within Drupal, it works fine. Now that I'm up on the FQ server, on a subdomain and in Drupal, I'm getting this error. (The main www is also a Drupal installation. This Drupal installation resides in www/example.)
I'm guessing that the subdomain/Drupal is the crux of the problem, and there might be a magic setting somewhere within FQ that I don't know about that would solve this.
Anyone have any ideas?
