No puedo Acceder desde un frame de otro dominio y otro puerto al server BI, Ayuda - Open Business Intelligence2024-03-28T20:49:26Zhttp://openbi.ning.com/forum/topics/no-puedo-acceder-desde-un-frame-de-otro-dominio-y-otro-puerto-al?commentId=2400100%3AComment%3A100006&feed=yes&xn_auth=noSolucion:
ERROR DE ACCESO CO…tag:openbi.ning.com,2014-02-01:2400100:Comment:1000062014-02-01T23:57:37.475ZReynaldo Claroshttp://openbi.ning.com/profile/claros
<p>Solucion: </p>
<p align="center"><b><u>ERROR DE ACCESO CON IFRAME DE OTRO SERVER</u></b></p>
<p> </p>
<p>Uncaught SecurityError: Blocked a frame with origin "<a href="http://localhost/" target="_blank" title="http://localhost">http://localhost:8181</a>" from accessing a frame with origin "<a href="http://localhost/" target="_blank" title="http://localhost">http://localhost:8099</a>". Protocols, domains, and ports must match.</p>
<p> </p>
<p> </p>
<p>Para acceder de otro servidor, es…</p>
<p>Solucion: </p>
<p align="center"><b><u>ERROR DE ACCESO CON IFRAME DE OTRO SERVER</u></b></p>
<p> </p>
<p>Uncaught SecurityError: Blocked a frame with origin "<a href="http://localhost/" title="http://localhost" target="_blank">http://localhost:8181</a>" from accessing a frame with origin "<a href="http://localhost/" title="http://localhost" target="_blank">http://localhost:8099</a>". Protocols, domains, and ports must match.</p>
<p> </p>
<p> </p>
<p>Para acceder de otro servidor, es necesario proxearlo, para no tener conflictos, y en desde cualquier servidor que se quiera acceder se debe crear un proxy al aplicativo que se desea acceder.</p>
<p> </p>
<p>Ejemplo:</p>
<p>Acceder desde Apache,</p>
<p>En el httpd.conf de Apache</p>
<p>AGREGAR:</p>
<p>ProxyPass /alias/ <a href="http://localhost:8181/aplicacion/" target="_blank">http://localhost:8181/aplicacion/</a></p>
<p>ProxyPassReverse /alias/ <a href="http://localhost:8181/aplicacion/" target="_blank">http://localhost:8181/aplicacion/</a></p>
<p> </p>
<p>En este caso, el server Apache tiene un puerto; 85 y el Tomcat 8181.</p>
<p> </p>
<p>Asunto solucionado. J</p>