Aynı sunucuda xml çapraz port?

0 Cevap php

hey all, i have an apache server on port 8080 and apache tomcat on 8181.

i tomcat gelen apache bir komutu aramak istiyorum. Bu komut, apache server port 8080 üzerinde bulunan bir php betik.

i use jquery inside a javascript function on tomcat server, using $.ajax. sthg like:


function fct()
{
$.ajax({
    type: "GET",
        url: pathofApache8080 + "script.php",
        cache: false,
        data:"blablabla",
      dataType: "xml",

success: function(xml) { }

}); }

now currently this works except that the xml that the php file should return is not being returned. i thought it considers it as cross domain issue, i installed jquery plugin for cross domain found at this site: http://github.com/jamespadolsey/jQuery-Plugins/blob/master/cross-domain-ajax/jquery.xdomainajax.js

this plugin works fine if i try it for lets say google.com, or any other site... it just doesnt work when i call from my apache tomact to apache which are on same server different ports... is there anything as cross port issue? or is it a configuration in php.ini file that i should modify?

any suggestions? thanks a lot:)

0 Cevap