Welcome Guest, Not a member yet? Register   Sign In
How can I turn the debug bar on?
#17

(02-17-2023, 02:24 AM)InsiteFX Wrote: If it is a CORS problem you can add this to your .htaccess file for now, better ones are in the works.
Add it under RewriteBase /
Code:
## .htaccess Control For CORS Configuration

# Add Font Awesome Font Types
AddType application/vnd.ms-fontobject .eot
AddType application/x-font-ttf        .ttf
AddType application/x-font-opentype  .otf
AddType application/font-woff        .woff
AddType application/font-woff2        .woff2

<IfModule mod_headers.c>
        <FilesMatch "\.(ttf|ttc|otf|eot|woff|woff2|svg|svgz|jpg|png|ico|font.css|css|js)$">
            ## un-remark this one for all access and remark out the one below it
            ## very un-secure!!!
            #Header set Access-Control-Allow-Origin "*"
            ## Change this to your local host url. and https or http
            Header add Access-Control-Allow-Origin: "https://yoursite.com"
            Header add Access-Control-Allow-Methods: "GET,POST,OPTIONS,DELETE,PUT"
            Header add Access-Control-Allow-Headers: "Upgrade-Insecure-Requests"
        </FilesMatch>
</IfModule>

Change https://yoursite.com to your website.com

Thank you InsiteFX. I have added those lines but nothing has changed.
Reply


Messages In This Thread
How can I turn the debug bar on? - by YanKleber - 04-24-2020, 03:06 PM
RE: How can I turn the debug bar on? - by Gary - 04-24-2020, 04:33 PM
RE: How can I turn the debug bar on? - by Gary - 04-24-2020, 04:47 PM
RE: How can I turn the debug bar on? - by Gary - 04-24-2020, 05:02 PM
RE: How can I turn the debug bar on? - by Gary - 04-24-2020, 05:13 PM
RE: How can I turn the debug bar on? - by Gary - 04-29-2020, 05:36 PM
RE: How can I turn the debug bar on? - by easyD - 04-30-2020, 01:59 AM
RE: How can I turn the debug bar on? - by Veilleuse - 02-17-2023, 04:57 AM
RE: How can I turn the debug bar on? - by ben_ci - 03-09-2024, 01:58 PM



Theme © iAndrew 2016 - Forum software by © MyBB