[Mono-aspnet-list] Cross Domain Scripting

Tim Nelson nelson.timothy at gmail.com
Mon Dec 5 11:28:31 EST 2011


I need for a test to enable cross-domain scripting on a mod_mono
server I have running.  I have found something that says I just need
to add the XML to my Web.config (below), but mono crashes when it sees
it.  How do I enable cross-domain scripting?

<?xml version="1.0" encoding="utf-8"?>
<configuration>
 <system.webServer>
   <httpProtocol>
     <customHeaders>
       <add name="Access-Control-Allow-Origin" value="*" />
     </customHeaders>
   </httpProtocol>
 </system.webServer>
</configuration>


More information about the Mono-aspnet-list mailing list