System: Debian 11
Apache version: 2.4
Blogging system used: Typecho 1.2
Site folder directory permissions: 755
The problem: After configuring the address rewrite according to the tutorials searched on the web, all the pages visited are 404 except for the home page and backend.
Related tutorials.
http://forum.typecho.org/viewtopic.php?t=10782
How to enable mod_rewrite for Apache 2.2
I use the following pseudo-static rules:
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ /index.php/$1 [L]
</IfModule>
The .htaccess file is in the same directory as index.php.