Canva on 2.3.12

To be completed by the original poster:

CMS Version


Installation Method

Custom apache

Operating System

centos 8


trying to connect canva app

when trying to auth canva i get this 404 error and attached image

Dec 7 10:59:14 projects httpd: [07/Dec/2021:10:59:14 -0800] - - POST /xibo2/api/authorize/access_token HTTP/1.1 404 2223 1327 7158 GB “-” “GuzzleHttp/6.5.5 curl/7.79.1 PHP/7.3.22” TLSv1.2 ECDHE-RSA-AES256-GCM-SHA384

appreciate any tips thank you

The 404 error suggests that you have not adapted the URL rewriting rules for Xibo being run from a subdirectory:

thanks for the suggestion, the site works fine though, if there were a larger rewrite issue i think i would have more issues…

i can reach the following URLs:

the only one that gives a 404 is

in my xibo-cms/web/.htaccess i have the standard config

RewriteEngine On

RewriteBase /xibo2

fix authorization header

RewriteCond %{HTTP:Authorization} .+

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

requests for api authorize

RewriteCond %{REQUEST_FILENAME} !-f

RewriteCond %{REQUEST_URI} ^/api/authorize/.*$

RewriteRule ^ api/authorize/index.php [QSA,L]

requests that start with api go down to api/index.php

RewriteCond %{REQUEST_FILENAME} !-f

RewriteCond %{REQUEST_URI} ^/api/.*$

RewriteRule ^ api/index.php [QSA,L]


RewriteCond %{REQUEST_FILENAME} !-f

RewriteCond %{REQUEST_URI} ^/install/.*$

RewriteRule ^ install/index.php [QSA,L]


RewriteCond %{REQUEST_FILENAME} !-f

RewriteCond %{REQUEST_URI} ^/maint/.*$

RewriteRule ^ maint/index.php [QSA,L]

all others - i.e. web

RewriteCond %{REQUEST_FILENAME} !-f

RewriteCond %{REQUEST_FILENAME} !-d

RewriteCond %{REQUEST_FILENAME} !.(css|js|png|jpg)$

RewriteCond %{REQUEST_URI} !^/dist/.*$

RewriteCond %{REQUEST_URI} !^/theme/.*$

RewriteRule ^ index.php [QSA,L]

I took this to our dev team to take a closer look, who have created the following issue:

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.