This is a comment on Only seeing index page 404 on other pages, posted by EoNy at 11.05.2023 10:15

View source for Re: Only seeing index page 404 on other pages

See also: [[/Doc/English/Articles/WalkthroughInstallationOfWackoWiki]]

When mod_rewrite is shown in LoadedModules - Test with ##<?php phpinfo(); ?>## as code in test.php in your DocumentRoot Directory - and 404 is still shown, you might want to change your apache2 configuration to allow .htaccess rules.

Change Directory Options to 

%%
<Directory "path/to/your/directory">
  
    Options Indexes FollowSymLinks MultiViews
    
    Require all granted

     #AllowOverride None
     AllowOverride All
    
</Directory>
%%

and restart apache2

e.g. for ubuntu: 

sudo nano /etc/apache2/sites-available/000-default.conf
if you have no default.conf, create one: sudo a2ensite 000-default.conf