<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Cross-Origin Resource Sharing (CORS)]]></title><description><![CDATA[<p dir="auto">buongiorno, dovrei attivare il CORS, da quanto mi ha detto il proprietario del template che sto utilizzando per poter visualizzare le font awesome, modificando l'htaccess ma non sono capace<br />
potete darmi una mano per favore?<br />
uso joomla 3.7.2</p>
<p dir="auto">questo è il mio .htaccess e sicuramente è configurato in modo errato</p>
<h1>Always set these headers.</h1>
<p dir="auto">Header always set Access-Control-Allow-Origin "*"<br />
Header always set Access-Control-Allow-Methods "POST, GET, OPTIONS, DELETE, PUT"<br />
Header always set Access-Control-Max-Age "1000"<br />
Header always set Access-Control-Allow-Headers "x-requested-with, Content-Type, origin, authorization, accept, client-security-token"</p>
<h1>Added a rewrite to respond with a 200 SUCCESS on every OPTIONS request.</h1>
<p dir="auto">RewriteEngine On<br />
RewriteCond %{REQUEST_METHOD} OPTIONS<br />
RewriteRule ^(.*)$ $1 [R=200,L]</p>
<h2></h2>
<h1>@package    Joomla</h1>
<h1>@copyright  Copyright (C) 2005 - 2017 Open Source Matters. All rights reserved.</h1>
<h1>@license    GNU General Public License version 2 or later; see LICENSE.txt</h1>
<h2></h2>
<h2></h2>
<h1>READ THIS COMPLETELY IF YOU CHOOSE TO USE THIS FILE!</h1>
<h1></h1>
<h1>The line 'Options +FollowSymLinks' may cause problems with some server configurations.</h1>
<h1>It is required for the use of mod_rewrite, but it may have already been set by your</h1>
<h1>server administrator in a way that disallows changing it in this .htaccess file.</h1>
<h1>If using it causes your site to produce an error, comment it out (add # to the</h1>
<h1>beginning of the line), reload your site in your browser and test your sef urls. If</h1>
<h1>they work, then it has been set by your server administrator and you do not need to</h1>
<h1>set it here.</h1>
<h2></h2>
<h2>No directory listings</h2>
<p dir="auto">&lt;IfModule autoindex&gt;<br />
IndexIgnore *<br />
&lt;/IfModule&gt;</p>
<h2>Can be commented out if causes errors, see notes above.</h2>
<p dir="auto">Options +FollowSymlinks<br />
Options -Indexes</p>
<h2>Mod_rewrite in use.</h2>
<p dir="auto">RewriteEngine On</p>
<h2>Begin - Rewrite rules to block out some common exploits.</h2>
<h1>If you experience problems on your site then comment out the operations listed</h1>
<h1>below by adding a # to the beginning of the line.</h1>
<h1>This attempts to block the most common type of exploit <code>attempts</code> on Joomla!</h1>
<h1></h1>
<h1>Block any script trying to base64_encode data within the URL.</h1>
<p dir="auto">RewriteCond %{QUERY_STRING} base64_encode[^(]<em>([^)]</em>) [OR]</p>
<h1>Block any script that includes a &lt;script&gt; tag in URL.</h1>
<p dir="auto">RewriteCond %{QUERY_STRING} (&lt;|%3C)([^s]<em>s)+cript.</em>(&gt;|%3E) [NC,OR]</p>
<h1>Block any script trying to set a PHP GLOBALS variable via URL.</h1>
<p dir="auto">RewriteCond %{QUERY_STRING} GLOBALS(=|[|%[0-9A-Z]{0,2}) [OR]</p>
<h1>Block any script trying to modify a _REQUEST variable via URL.</h1>
<p dir="auto">RewriteCond %{QUERY_STRING} _REQUEST(=|[|%[0-9A-Z]{0,2})</p>
<h1>Return 403 Forbidden header and show the content of the root home page</h1>
<p dir="auto">RewriteRule .* index.php [F]</p>
<h1></h1>
<h2>End - Rewrite rules to block out some common exploits.</h2>
<h2>Begin - Custom redirects</h2>
<h1></h1>
<h1>If you need to redirect some pages, or set a canonical non-www to</h1>
<h1>www redirect (or vice versa), place that code here. Ensure those</h1>
<h1>redirects use the correct RewriteRule syntax and the [R=301,L] flags.</h1>
<h1></h1>
<h2>End - Custom redirects</h2>
<h2></h2>
<h1>Uncomment the following line if your webserver's URL</h1>
<h1>is not directly related to physical file paths.</h1>
<h1>Update Your Joomla! Directory (just / for root).</h1>
<h2></h2>
<p dir="auto">RewriteBase /</p>
<h2>Begin - Joomla! core SEF Section.</h2>
<h1></h1>
<p dir="auto">RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]</p>
<h1></h1>
<h1>If the requested path and file is not /index.php and the request</h1>
<h1>has not already been internally rewritten to the index.php script</h1>
<p dir="auto">RewriteCond %{REQUEST_URI} !^/index.php</p>
<h1>and the requested path and file doesn't directly match a physical file</h1>
<p dir="auto">RewriteCond %{REQUEST_FILENAME} !-f</p>
<h1>and the requested path and file doesn't directly match a physical folder</h1>
<p dir="auto">RewriteCond %{REQUEST_FILENAME} !-d</p>
<h1>internally rewrite the request to the index.php script</h1>
<p dir="auto">RewriteRule .* index.php [L]</p>
<h1></h1>
<h2>End - Joomla! core SEF Section.</h2>
<p dir="auto">Vi ringrazio</p>
<p dir="auto">alessia</p>
]]></description><link>https://dev.connect.gt/topic/230368/cross-origin-resource-sharing-cors</link><generator>RSS for Node</generator><lastBuildDate>Fri, 27 Nov 2026 10:08:38 GMT</lastBuildDate><atom:link href="https://dev.connect.gt/topic/230368.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 20 Jun 2017 15:19:55 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Cross-Origin Resource Sharing (CORS) on Tue, 20 Jun 2017 18:37:34 GMT]]></title><description><![CDATA[<p dir="auto">ok, I try - thanks for now</p>
]]></description><link>https://dev.connect.gt/post/1238592</link><guid isPermaLink="true">https://dev.connect.gt/post/1238592</guid><dc:creator><![CDATA[alessia.byaldino]]></dc:creator><pubDate>Tue, 20 Jun 2017 18:37:34 GMT</pubDate></item><item><title><![CDATA[Reply to Cross-Origin Resource Sharing (CORS) on Tue, 20 Jun 2017 18:35:20 GMT]]></title><description><![CDATA[<p dir="auto">yes - I do</p>
]]></description><link>https://dev.connect.gt/post/1238591</link><guid isPermaLink="true">https://dev.connect.gt/post/1238591</guid><dc:creator><![CDATA[alessia.byaldino]]></dc:creator><pubDate>Tue, 20 Jun 2017 18:35:20 GMT</pubDate></item><item><title><![CDATA[Reply to Cross-Origin Resource Sharing (CORS) on Tue, 20 Jun 2017 18:31:50 GMT]]></title><description><![CDATA[<p dir="auto">Hold on, just realised you use the CDN for that domain. You should configure the headers in the CDN resource for this to work. Do you have access to these settings?</p>
]]></description><link>https://dev.connect.gt/post/1238585</link><guid isPermaLink="true">https://dev.connect.gt/post/1238585</guid><dc:creator><![CDATA[skylinx]]></dc:creator><pubDate>Tue, 20 Jun 2017 18:31:50 GMT</pubDate></item><item><title><![CDATA[Reply to Cross-Origin Resource Sharing (CORS) on Tue, 20 Jun 2017 18:28:54 GMT]]></title><description><![CDATA[<p dir="auto">Is that the .htaccess for <a href="http://byaldino.r.worldssl.net" rel="nofollow ugc">byaldino.r.worldssl.net</a>?</p>
]]></description><link>https://dev.connect.gt/post/1238584</link><guid isPermaLink="true">https://dev.connect.gt/post/1238584</guid><dc:creator><![CDATA[skylinx]]></dc:creator><pubDate>Tue, 20 Jun 2017 18:28:54 GMT</pubDate></item><item><title><![CDATA[Reply to Cross-Origin Resource Sharing (CORS) on Tue, 20 Jun 2017 18:08:04 GMT]]></title><description><![CDATA[<p dir="auto">this is my .htaccess</p>
<p dir="auto">Header set Access-Control-Allow-Origin "*"</p>
<p dir="auto">&lt;IfModule mod_headers.c&gt;<br />
&lt;FilesMatch "\.(ico|jpe?g|png|gif|swf|css|gz)$"&gt;<br />
Header set Cache-Control "max-age=2592000, public"<br />
&lt;/FilesMatch&gt;<br />
&lt;FilesMatch "\.(js)$"&gt;<br />
Header set Cache-Control "max-age=2592000, private"<br />
&lt;/FilesMatch&gt;<br />
&lt;filesMatch "\.(html|htm)$"&gt;<br />
Header set Cache-Control "max-age=7200, public"<br />
&lt;/filesMatch&gt;<br />
&lt;FilesMatch ".(pl|php|cgi|spl|scgi|fcgi)$"&gt;<br />
Header unset Cache-Control<br />
&lt;/FilesMatch&gt;<br />
&lt;/IfModule&gt;</p>
<h1>Added a rewrite to respond with a 200 SUCCESS on every OPTIONS request.</h1>
<p dir="auto">RewriteEngine On<br />
RewriteCond %{REQUEST_METHOD} OPTIONS<br />
RewriteRule ^(.*)$ $1 [R=200,L]</p>
<h2></h2>
<h1>@package    Joomla</h1>
<h1>@copyright  Copyright (C) 2005 - 2017 Open Source Matters. All rights reserved.</h1>
<h1>@license    GNU General Public License version 2 or later; see LICENSE.txt</h1>
<h2></h2>
<h2></h2>
<h1>READ THIS COMPLETELY IF YOU CHOOSE TO USE THIS FILE!</h1>
<h1></h1>
<h1>The line 'Options +FollowSymLinks' may cause problems with some server configurations.</h1>
<h1>It is required for the use of mod_rewrite, but it may have already been set by your</h1>
<h1>server administrator in a way that disallows changing it in this .htaccess file.</h1>
<h1>If using it causes your site to produce an error, comment it out (add # to the</h1>
<h1>beginning of the line), reload your site in your browser and test your sef urls. If</h1>
<h1>they work, then it has been set by your server administrator and you do not need to</h1>
<h1>set it here.</h1>
<h2></h2>
<h2>No directory listings</h2>
<p dir="auto">&lt;IfModule autoindex&gt;<br />
IndexIgnore *<br />
&lt;/IfModule&gt;</p>
<h2>Can be commented out if causes errors, see notes above.</h2>
<p dir="auto">Options +FollowSymlinks<br />
Options -Indexes</p>
<h2>Mod_rewrite in use.</h2>
<p dir="auto">RewriteEngine On</p>
<p dir="auto">&lt;IfModule mod_headers.c&gt;<br />
Header set Access-Control-Allow-Origin "*"<br />
&lt;/IfModule&gt;</p>
<p dir="auto">RewriteCond %{REQUEST_FILENAME} -s [OR]<br />
RewriteCond %{REQUEST_FILENAME} -l [OR]<br />
RewriteCond %{REQUEST_FILENAME} -d<br />
RewriteRule ^.<em>$ - [NC,L]<br />
RewriteRule ^.</em>$ index.php [NC,L]</p>
<h2>Begin - Rewrite rules to block out some common exploits.</h2>
<h1>If you experience problems on your site then comment out the operations listed</h1>
<h1>below by adding a # to the beginning of the line.</h1>
<h1>This attempts to block the most common type of exploit <code>attempts</code> on Joomla!</h1>
<h1></h1>
<h1>Block any script trying to base64_encode data within the URL.</h1>
<p dir="auto">RewriteCond %{QUERY_STRING} base64_encode[^(]<em>([^)]</em>) [OR]</p>
<h1>Block any script that includes a &lt;script&gt; tag in URL.</h1>
<p dir="auto">RewriteCond %{QUERY_STRING} (&lt;|%3C)([^s]<em>s)+cript.</em>(&gt;|%3E) [NC,OR]</p>
<h1>Block any script trying to set a PHP GLOBALS variable via URL.</h1>
<p dir="auto">RewriteCond %{QUERY_STRING} GLOBALS(=|[|%[0-9A-Z]{0,2}) [OR]</p>
<h1>Block any script trying to modify a _REQUEST variable via URL.</h1>
<p dir="auto">RewriteCond %{QUERY_STRING} _REQUEST(=|[|%[0-9A-Z]{0,2})</p>
<h1>Return 403 Forbidden header and show the content of the root home page</h1>
<p dir="auto">RewriteRule .* index.php [F]</p>
<h1></h1>
<h2>End - Rewrite rules to block out some common exploits.</h2>
<h2>Begin - Custom redirects</h2>
<h1></h1>
<h1>If you need to redirect some pages, or set a canonical non-www to</h1>
<h1>www redirect (or vice versa), place that code here. Ensure those</h1>
<h1>redirects use the correct RewriteRule syntax and the [R=301,L] flags.</h1>
<h1></h1>
<h2>End - Custom redirects</h2>
<h2></h2>
<h1>Uncomment the following line if your webserver's URL</h1>
<h1>is not directly related to physical file paths.</h1>
<h1>Update Your Joomla! Directory (just / for root).</h1>
<h2></h2>
<p dir="auto">RewriteBase /</p>
<h2>Begin - Joomla! core SEF Section.</h2>
<h1></h1>
<p dir="auto">RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]</p>
<h1></h1>
<h1>If the requested path and file is not /index.php and the request</h1>
<h1>has not already been internally rewritten to the index.php script</h1>
<p dir="auto">RewriteCond %{REQUEST_URI} !^/index.php</p>
<h1>and the requested path and file doesn't directly match a physical file</h1>
<p dir="auto">RewriteCond %{REQUEST_FILENAME} !-f</p>
<h1>and the requested path and file doesn't directly match a physical folder</h1>
<p dir="auto">RewriteCond %{REQUEST_FILENAME} !-d</p>
<h1>internally rewrite the request to the index.php script</h1>
<p dir="auto">RewriteRule .* index.php [L]</p>
<h1></h1>
<h2>End - Joomla! core SEF Section.</h2>
]]></description><link>https://dev.connect.gt/post/1238590</link><guid isPermaLink="true">https://dev.connect.gt/post/1238590</guid><dc:creator><![CDATA[alessia.byaldino]]></dc:creator><pubDate>Tue, 20 Jun 2017 18:08:04 GMT</pubDate></item><item><title><![CDATA[Reply to Cross-Origin Resource Sharing (CORS) on Tue, 20 Jun 2017 18:06:38 GMT]]></title><description><![CDATA[<p dir="auto">now I check it</p>
]]></description><link>https://dev.connect.gt/post/1238589</link><guid isPermaLink="true">https://dev.connect.gt/post/1238589</guid><dc:creator><![CDATA[alessia.byaldino]]></dc:creator><pubDate>Tue, 20 Jun 2017 18:06:38 GMT</pubDate></item><item><title><![CDATA[Reply to Cross-Origin Resource Sharing (CORS) on Tue, 20 Jun 2017 18:03:07 GMT]]></title><description><![CDATA[<p dir="auto">The website makes lots of HTTP requests and loads quite slowly for me (Finland). It took something like 20+ seconds to load the home page alone. It also loads/tries to load some resources from both the www and the naked domain and also from a mix of http and https, which causes some errors.<br />
As for the CORS issue, the proper headers must be set for <a href="http://byaldino.r.worldssl.net" rel="nofollow ugc">byaldino.r.worldssl.net</a> if I am not mistaken. Which domain was that .htaccess from?</p>
]]></description><link>https://dev.connect.gt/post/1238582</link><guid isPermaLink="true">https://dev.connect.gt/post/1238582</guid><dc:creator><![CDATA[skylinx]]></dc:creator><pubDate>Tue, 20 Jun 2017 18:03:07 GMT</pubDate></item><item><title><![CDATA[Reply to Cross-Origin Resource Sharing (CORS) on Tue, 20 Jun 2017 17:49:26 GMT]]></title><description><![CDATA[<p dir="auto">https</p>
]]></description><link>https://dev.connect.gt/post/1238600</link><guid isPermaLink="true">https://dev.connect.gt/post/1238600</guid><dc:creator><![CDATA[alessia.byaldino]]></dc:creator><pubDate>Tue, 20 Jun 2017 17:49:26 GMT</pubDate></item><item><title><![CDATA[Reply to Cross-Origin Resource Sharing (CORS) on Tue, 20 Jun 2017 17:45:50 GMT]]></title><description><![CDATA[<p dir="auto">the site is byaldino with .com</p>
]]></description><link>https://dev.connect.gt/post/1238599</link><guid isPermaLink="true">https://dev.connect.gt/post/1238599</guid><dc:creator><![CDATA[alessia.byaldino]]></dc:creator><pubDate>Tue, 20 Jun 2017 17:45:50 GMT</pubDate></item><item><title><![CDATA[Reply to Cross-Origin Resource Sharing (CORS) on Tue, 20 Jun 2017 17:45:07 GMT]]></title><description><![CDATA[<p dir="auto">I cannot post www</p>
]]></description><link>https://dev.connect.gt/post/1238598</link><guid isPermaLink="true">https://dev.connect.gt/post/1238598</guid><dc:creator><![CDATA[alessia.byaldino]]></dc:creator><pubDate>Tue, 20 Jun 2017 17:45:07 GMT</pubDate></item><item><title><![CDATA[Reply to Cross-Origin Resource Sharing (CORS) on Tue, 20 Jun 2017 17:40:00 GMT]]></title><description><![CDATA[<p dir="auto">If you can share the URL I can have a look myself.</p>
]]></description><link>https://dev.connect.gt/post/1238583</link><guid isPermaLink="true">https://dev.connect.gt/post/1238583</guid><dc:creator><![CDATA[skylinx]]></dc:creator><pubDate>Tue, 20 Jun 2017 17:40:00 GMT</pubDate></item><item><title><![CDATA[Reply to Cross-Origin Resource Sharing (CORS) on Tue, 20 Jun 2017 17:39:22 GMT]]></title><description><![CDATA[<p dir="auto">Can you take a screenshot of the dev tools so I can have a look? What is the resource that cannot be found? (404)</p>
]]></description><link>https://dev.connect.gt/post/1238581</link><guid isPermaLink="true">https://dev.connect.gt/post/1238581</guid><dc:creator><![CDATA[skylinx]]></dc:creator><pubDate>Tue, 20 Jun 2017 17:39:22 GMT</pubDate></item><item><title><![CDATA[Reply to Cross-Origin Resource Sharing (CORS) on Tue, 20 Jun 2017 17:35:47 GMT]]></title><description><![CDATA[<p dir="auto">this is error: Access to Font at 'https.... has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin '.....' is therefore not allowed access.</p>
]]></description><link>https://dev.connect.gt/post/1238597</link><guid isPermaLink="true">https://dev.connect.gt/post/1238597</guid><dc:creator><![CDATA[alessia.byaldino]]></dc:creator><pubDate>Tue, 20 Jun 2017 17:35:47 GMT</pubDate></item><item><title><![CDATA[Reply to Cross-Origin Resource Sharing (CORS) on Tue, 20 Jun 2017 17:29:08 GMT]]></title><description><![CDATA[<p dir="auto">can you write in english?</p>
]]></description><link>https://dev.connect.gt/post/1238596</link><guid isPermaLink="true">https://dev.connect.gt/post/1238596</guid><dc:creator><![CDATA[alessia.byaldino]]></dc:creator><pubDate>Tue, 20 Jun 2017 17:29:08 GMT</pubDate></item><item><title><![CDATA[Reply to Cross-Origin Resource Sharing (CORS) on Tue, 20 Jun 2017 17:23:46 GMT]]></title><description><![CDATA[<p dir="auto">ti può aiutare?</p>
<p dir="auto">dove controllo se mod headers è abilitato?</p>
]]></description><link>https://dev.connect.gt/post/1238595</link><guid isPermaLink="true">https://dev.connect.gt/post/1238595</guid><dc:creator><![CDATA[alessia.byaldino]]></dc:creator><pubDate>Tue, 20 Jun 2017 17:23:46 GMT</pubDate></item><item><title><![CDATA[Reply to Cross-Origin Resource Sharing (CORS) on Tue, 20 Jun 2017 17:22:56 GMT]]></title><description><![CDATA[<p dir="auto">ho questa risposta:</p>
<p dir="auto">Failed to load resource: the server responded with a status of 404 (Not Found)<br />
(index):1 Mixed Content: The page at 'https:...' was loaded over HTTPS, but requested an insecure stylesheet 'http:.../templates/jsn_one2_pro/css/font-awesome.css'. This request has been blocked; the content must be served over HTTPS.<br />
jquery-migrate-3.0.0.min.js:2 JQMIGRATE: Migrate is installed, version 3.0.0</p>
]]></description><link>https://dev.connect.gt/post/1238594</link><guid isPermaLink="true">https://dev.connect.gt/post/1238594</guid><dc:creator><![CDATA[alessia.byaldino]]></dc:creator><pubDate>Tue, 20 Jun 2017 17:22:56 GMT</pubDate></item><item><title><![CDATA[Reply to Cross-Origin Resource Sharing (CORS) on Tue, 20 Jun 2017 17:12:37 GMT]]></title><description><![CDATA[<p dir="auto">Inoltre e' mod headers abilitato?</p>
]]></description><link>https://dev.connect.gt/post/1238580</link><guid isPermaLink="true">https://dev.connect.gt/post/1238580</guid><dc:creator><![CDATA[skylinx]]></dc:creator><pubDate>Tue, 20 Jun 2017 17:12:37 GMT</pubDate></item><item><title><![CDATA[Reply to Cross-Origin Resource Sharing (CORS) on Tue, 20 Jun 2017 17:10:48 GMT]]></title><description><![CDATA[<p dir="auto">Ciao, nel dev tools per es. di Chrome, vedi l'header Access-Control-Allow-Origin nel response?</p>
]]></description><link>https://dev.connect.gt/post/1238578</link><guid isPermaLink="true">https://dev.connect.gt/post/1238578</guid><dc:creator><![CDATA[skylinx]]></dc:creator><pubDate>Tue, 20 Jun 2017 17:10:48 GMT</pubDate></item><item><title><![CDATA[Reply to Cross-Origin Resource Sharing (CORS) on Tue, 20 Jun 2017 16:27:07 GMT]]></title><description><![CDATA[<p dir="auto">nessuno che mi dia una mano?</p>
]]></description><link>https://dev.connect.gt/post/1238593</link><guid isPermaLink="true">https://dev.connect.gt/post/1238593</guid><dc:creator><![CDATA[alessia.byaldino]]></dc:creator><pubDate>Tue, 20 Jun 2017 16:27:07 GMT</pubDate></item></channel></rss>