Forum Replies Created

Viewing 1 replies (of 1 total)
  • Thread Starter carlitoux

    (@carlitoux)

    I resolved it! xD LOOOOOOL

    You need to add this to your .htaccess file…

    <IfModule mod_rewrite.c>

    Header set Access-Control-Allow-Origin “*”
    <IfModule mod_negotiation.c>
    Options -MultiViews -Indexes
    </IfModule>

    RewriteEngine On

    # Handle Authorization Header

    RewriteCond %{HTTP:Authorization} .
    RewriteRule .* – [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]

    # Redirect Trailing Slashes If Not A Folder…
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteCond %{REQUEST_URI} (.+)/$
    RewriteRule ^ %1 [L,R=301]

    # Handle Front Controller…
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteRule ^ index.php [L]
    </IfModule>

Viewing 1 replies (of 1 total)