<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://anna.info/x/wiki/w/index.php?action=history&amp;feed=atom&amp;title=Access-Control-Allow-Origin</id>
	<title>Access-Control-Allow-Origin - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://anna.info/x/wiki/w/index.php?action=history&amp;feed=atom&amp;title=Access-Control-Allow-Origin"/>
	<link rel="alternate" type="text/html" href="https://anna.info/x/wiki/w/index.php?title=Access-Control-Allow-Origin&amp;action=history"/>
	<updated>2026-05-04T15:51:05Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.3</generator>
	<entry>
		<id>https://anna.info/x/wiki/w/index.php?title=Access-Control-Allow-Origin&amp;diff=5654&amp;oldid=prev</id>
		<title>Tobiasco: Created page with &quot; https://www.w3.org/TR/cors/#access-control-allow-origin-response-header  In practice the origin-list-or-null production is more constrained.   Rather than allowing a space-se...&quot;</title>
		<link rel="alternate" type="text/html" href="https://anna.info/x/wiki/w/index.php?title=Access-Control-Allow-Origin&amp;diff=5654&amp;oldid=prev"/>
		<updated>2018-08-23T17:58:32Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot; https://www.w3.org/TR/cors/#access-control-allow-origin-response-header  In practice the origin-list-or-null production is more constrained.   Rather than allowing a space-se...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt; https://www.w3.org/TR/cors/#access-control-allow-origin-response-header&lt;br /&gt;
 In practice the origin-list-or-null production is more constrained. &lt;br /&gt;
 Rather than allowing a space-separated list of origins, it is either a single origin or the string &amp;quot;null&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
==multiple values==&lt;br /&gt;
* seperator in Apache can be comma - no space after comma!&lt;br /&gt;
* multiple values rejected by Chrome&lt;br /&gt;
&lt;br /&gt;
Store list in Apache and only return the matched one&lt;br /&gt;
 https://stackoverflow.com/questions/1653308/access-control-allow-origin-multiple-origin-domains&lt;br /&gt;
&lt;br /&gt;
 # ----------------------------------------------------------------------&lt;br /&gt;
 # Allow loading of external fonts&lt;br /&gt;
 # ----------------------------------------------------------------------&lt;br /&gt;
 &amp;lt;FilesMatch &amp;quot;\.(ttf|otf|eot|woff)$&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;IfModule mod_headers.c&amp;gt;&lt;br /&gt;
        SetEnvIf Origin &amp;quot;http(s)?://(www\.)?(google.com|staging.google.com|development.google.com|otherdomain.example|dev02.otherdomain.example)$&amp;quot; AccessControlAllowOrigin=$0&lt;br /&gt;
        Header add Access-Control-Allow-Origin %{AccessControlAllowOrigin}e env=AccessControlAllowOrigin&lt;br /&gt;
        Header merge Vary Origin&lt;br /&gt;
    &amp;lt;/IfModule&amp;gt;&lt;br /&gt;
 &amp;lt;/FilesMatch&amp;gt;&lt;/div&gt;</summary>
		<author><name>Tobiasco</name></author>
	</entry>
</feed>