I'm happy to introduce our new ultra-low tech CMS for smol, accessible websites. The goal was to make something that could be self-hosted, but friendly enough for people who don't SFTP or use a terminal. 3 PHP files, Apache, and Gemtext. Should work on any dumb old Apache host; a technical person could manage many of these for friends and family with zero maintenance. Happy to answer any questions or take bug reports.



@winduptoy Looks cool ! But I'll have to struggle with debian (php7) and nginx to make it work :'(

@winduptoy Urgh, I'm stuck on "There was an error rendering the page." while loading, no error php's side, any way to debug this ? I wish I understood what did the JS thing

@winduptoy oh yeah, ff debugger.

>XHR POST https://MYWEBSITE/cms/render.php/index.gmi
> State : 404 Not Found

Of course there is nothing there ! I struggle to understand what was intended there

@otyugh that's sending the request to /cms/render.php and setting the $_SERVER['PATH_INFO'] variable to /index.gmi. I know it looks weird, but it's valid for Apache. It's all very dependent on the .htaccess configuration (check the comments). I have no clue how to make that work with nginx but I'm sure it's possible. If you get it working I will include nginx instructions for others.


@winduptoy Oh, that's htaccess, it explains so much ! I look into it, I'll tell you ! And if I'm right, it also should work with php7 with the tinyest hack (but maybe I missed some hard parts).

· · Web · 0 · 0 · 0
Inscrivez-vous pour prendre part à la conversation
Mastodon Chapril

Chapril, membre du collectif CHATONS, un projet de l'April. Une fois votre compte créé, vous pouvez notamment vous abonner au compte de l'April (l'abonnement au compte admin de cette instance étant automatique).