fabianmichael / kirby-typography

Typographic enhancements for your Kirby-driven website.
GNU General Public License v3.0
78 stars 4 forks source link

Loads non-existent file in panel #25

Closed chpio closed 5 years ago

chpio commented 5 years ago

This plugin loads a non existing file (also i couldn't find a htaccess with this path in it).

http://127.0.0.1/plugins/typography/widget/api/status

fabianmichael commented 5 years ago

The .htaccess redirects all requests to non-existant files to Kirby by default. Kirby then checks, whether a route exists that matches the requested file’s pattern. In this case, the Kirby-Typography makes a request to its own API for retrieving status information about the plugin’s cache.

Do other routes work have the the .htaccess files (in the root directoy and the panel subfolder) been setup correctly?

chpio commented 5 years ago

ahh, thank you. I think it's conflicting with our (poorly implemented) redirection script. After adding plugins as an exception i got a 404 error from kirby, but im stopping the "investigation" now bc it's a low priority thing.