You are not logged in.
now deployed a xinha in http://a.x.com/js/xinha/ with imagemanage plugin.
is there any way to use http://a.x.com/js/xinha in another subdomain: http://b.x.com/index.html ?
if i derictylly use src='http://a.x.com/js/xinha/xinhacore.js' in http://b.x.com/index.html, it doesn't work. and firefox complains: Error: uncaught exception: [Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIXMLHttpRequest.send]" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: http://somesite.ru/engine/xinha/XinhaCore.js :: anonymous :: line 7138" data: no]
Offline
I tried to include a iframe which src is http://b.x.com/frame.html in the http://a.x.com/index.html and the the two pages the same document.domain.
but it donesn't work.
Offline
now i use the rewrite mod with P flag in a.x.com to proxy all request to b.x.com, everything works fine.
Offline
i also do the same task and get better service now. Good tips. thanks for these tips that keep us more update.
bartender certification online
Last edited by holidayC5152 (2011-09-10 14:44:23)
Offline