Clean URLs, .htaccess and Manjaro LAMP stack

Hi, new here. Installed Manjaro xfce edition yesterday and have installed Lamp stack as per these instructions (not allowed to include links); forummanjaroorg/t/howto-install-apache-mariadb-mysql-php-lamp/13000

I use Textpattern CMS for websites and never had trouble with clean URLs before, but the Lamp installation is a bit different than what I am used to. It uses httpd and configuration seems to be in /etc/httpd/conf/httpd.conf rather than in /etc/apache2/sites-available/mysite.conf used in other lamp installs.

The default .htaccess in Textpattern is:

#DirectoryIndex index.php index.html

<IfModule mod_rewrite.c>
    RewriteEngine On

    #Options +FollowSymlinks

    #RewriteBase /relative/web/path/

    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule ^(.+) - [PT,L]

    RewriteCond %{REQUEST_URI} !=/favicon.ico
    RewriteRule ^(.*) index.php

    RewriteCond %{HTTP:Authorization}  !^$
    RewriteRule .* - [E=REMOTE_USER:%{HTTP:Authorization}]

This normally produces clean URLs but I’m not able to at present. Note
. httpd.conf has LoadModule rewrite_module modules/

I’ve tried changing to that in .htaccess but that doesn’t work. I’ve altered a few other things too but to no avail. As I am stabbing in the dark I don’t want to alter anything else until I know what to do.

I hope someone can help!

Try adding this to httpd.conf:

<Directory />
    AllowOverride ALL