<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div><div style="color: rgb(0, 0, 0); font-family: -webkit-standard; font-size: 14px;">Is there a way to make CORSFilter work for webadmin?</div><div style="color: rgb(0, 0, 0); font-family: -webkit-standard; font-size: 14px;"><br></div><div style="color: rgb(0, 0, 0); font-family: -webkit-standard; font-size: 14px;">I have tried using the:</div><div style="color: rgb(0, 0, 0); font-family: -webkit-standard; font-size: 14px;"><br></div><div><div>engine-config -l | grep CORS</div><div>engine-config -s CORSSupport=true</div><div>engine-config -s CORSAllowedOrigins=*</div></div><div>service ovirt-engine restart</div><div><br></div><div>A look at:</div><div><br></div><div>engine-config -l | grep CORS</div><div><br></div><div>Looks like support is only for REST API?</div><div>- CORSSupport: "Enables CORS (Cross Origin Resource Sharing) support in RESTAPI.&#8221;</div><div><br></div><div>I have also tried adding to&nbsp;/usr/share/ovirt-engine/engine.ear/webadmin.war/WEB-INF/web.xml</div><div><br></div><div><div>&nbsp; &nbsp;&lt;filter&gt;</div><div>&nbsp; &nbsp; &nbsp; &nbsp;&lt;filter-name&gt;CORSSupport&lt;/filter-name&gt;</div><div>&nbsp; &nbsp; &nbsp; &nbsp;&lt;filter-class&gt;org.ovirt.engine.core.utils.servlet.CORSSupportFilter&lt;/filter-class&gt;</div><div>&nbsp; &nbsp;&lt;/filter&gt;</div><div><br></div><div>&nbsp; &nbsp;&lt;filter-mapping&gt;</div><div>&nbsp; &nbsp; &nbsp; &nbsp;&lt;filter-name&gt;CORSSupport&lt;/filter-name&gt;</div><div>&nbsp; &nbsp; &nbsp; &nbsp;&lt;url-pattern&gt;/*&lt;/url-pattern&gt;</div><div>&nbsp; &nbsp;&lt;/filter-mapping&gt;</div></div><div><br></div><div>But that just ends up in Server Errors&nbsp;<a href="https://pastebin.com/Q1JECzSw">https://pastebin.com/Q1JECzSw</a></div><div><br></div><div><br></div><div style="color: rgb(0, 0, 0); font-family: -webkit-standard; font-size: 14px;">Thanks for any help ;)</div><div style="color: rgb(0, 0, 0); font-family: -webkit-standard; font-size: 14px;"><br></div><div style="color: rgb(0, 0, 0); font-family: -webkit-standard; font-size: 14px;">Zip</div></div></body></html>