
This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible.
</div><div> <filter-mapping></div><div> &nbs=
--B_3602594445_15090264 Content-type: text/plain; charset="ISO-8859-1" Content-transfer-encoding: quoted-printable Is there a way to make CORSFilter work for webadmin? I have tried using the: engine-config -l | grep CORS engine-config -s CORSSupport=3Dtrue engine-config -s CORSAllowedOrigins=3D* service ovirt-engine restart A look at: engine-config -l | grep CORS Looks like support is only for REST API? - CORSSupport: "Enables CORS (Cross Origin Resource Sharing) support in RESTAPI.=B2 I have also tried adding to /usr/share/ovirt-engine/engine.ear/webadmin.war/WEB-INF/web.xml <filter> <filter-name>CORSSupport</filter-name> =20 <filter-class>org.ovirt.engine.core.utils.servlet.CORSSupportFilter</filter= - class> </filter> <filter-mapping> <filter-name>CORSSupport</filter-name> <url-pattern>/*</url-pattern> </filter-mapping> But that just ends up in Server Errors https://pastebin.com/Q1JECzSw Thanks for any help ;) Zip --B_3602594445_15090264 Content-type: text/html; charset="ISO-8859-1" Content-transfer-encoding: quoted-printable <html><head></head><body style=3D"word-wrap: break-word; -webkit-nbsp-mode: s= pace; -webkit-line-break: after-white-space;"><div><div style=3D"color: rgb(0,= 0, 0); font-family: -webkit-standard; font-size: 14px;">Is there a way to m= ake CORSFilter work for webadmin?</div><div style=3D"color: rgb(0, 0, 0); font= -family: -webkit-standard; font-size: 14px;"><br></div><div style=3D"color: rg= b(0, 0, 0); font-family: -webkit-standard; font-size: 14px;">I have tried us= ing the:</div><div style=3D"color: rgb(0, 0, 0); font-family: -webkit-standard= ; font-size: 14px;"><br></div><div><div>engine-config -l | grep CORS</div><d= iv>engine-config -s CORSSupport=3Dtrue</div><div>engine-config -s CORSAllowedO= rigins=3D*</div></div><div>service ovirt-engine restart</div><div><br></div><d= iv>A look at:</div><div><br></div><div>engine-config -l | grep CORS</div><di= v><br></div><div>Looks like support is only for REST API?</div><div>- CORSSu= pport: "Enables CORS (Cross Origin Resource Sharing) support in RESTAPI.R= 21;</div><div><br></div><div>I have also tried adding to /usr/share/ovi= rt-engine/engine.ear/webadmin.war/WEB-INF/web.xml</div><div><br></div><div><= div> <filter></div><div> <fil= ter-name>CORSSupport</filter-name></div><div> &= nbsp;<filter-class>org.ovirt.engine.core.utils.servlet.CORSSupportFilt= er</filter-class></div><div> </filter></div><div><br= p; <filter-name>CORSSupport</filter-name></div><div> = <url-pattern>/*</url-pattern></div><div>&nb= sp; </filter-mapping></div></div><div><br></div><div>But that ju= st ends up in Server Errors <a href=3D"https://pastebin.com/Q1JECzSw">htt= ps://pastebin.com/Q1JECzSw</a></div><div><br></div><div><br></div><div style= =3D"color: rgb(0, 0, 0); font-family: -webkit-standard; font-size: 14px;">Than= ks for any help ;)</div><div style=3D"color: rgb(0, 0, 0); font-family: -webki= t-standard; font-size: 14px;"><br></div><div style=3D"color: rgb(0, 0, 0); fon= t-family: -webkit-standard; font-size: 14px;">Zip</div></div></body></html> --B_3602594445_15090264--
participants (1)
-
Zip