flatpressblog / flatpress

FlatPress is a lightweight, easy-to-set-up flat-file blogging engine.
https://flatpress.org
GNU General Public License v2.0
185 stars 57 forks source link

FlatPress does not run under Nginx with PrettyUrls #289

Closed Fraenkiman closed 10 months ago

Fraenkiman commented 10 months ago

Many thanks to Laborix via the forum.

The installation runs without errors, but Flatpress do not run under Nginx with PrettyUrls.

Test environment: Nginx 1.24, PHP 8.1 and Flatpress Github 1102

For the PrettyUrls issue, a replacement solution should be provided somehow or PrettyUrls should be deactivated by default. Nginx is now used more often than Apache (as of 11/2023). You should keep an eye on this.

It is not recommended to use an htacces file under Nginx. See: https://www.nginx.com/resources/wiki/start/topics/examples/likeapache-htaccess/

Many thanks for reporting

Best regards Frank

Fraenkiman commented 10 months ago

Deactivated as standard with 85e100c PrettyURLs