Monthly Archives: November 2023

Invalid command ‘AuthFormProvider’, perhaps misspelled

Invalid command ‘AuthFormProvider’, perhaps misspelled or defined by a module not included in the server configuration

yum install mod_session
yum install mod_form

To avoid the following error

You must load mod_request to enable the mod_auth_form functions

we need to load the module.
Let’s create request.conf

sudo nano /etc/httpd/conf.d/request.conf

The add the following line

LoadModule request_module modules/mod_request.so

Invalid command ‘SessionCryptoPassphrase’, perhaps misspelled or defined by a module not included in the server configuration

Add the following line to request.conf

LoadModule session_crypto_module modules/mod_session_crypto.so

Apache mod_alias – Not Found

I was facing a ‘Not found’ using alias/mod_alias.

Not Found
The requested URL /home/ftp (…..) /index.php was not found on this server.

Alias "/ps/" "/home/ftpuser/ps/"
<Directory "/home/ftpuser/ps/">
    Options Indexes FollowSymLinks
    AllowOverride All
    Require all granted
</Directory>

Apache was searching the file in /var/www/html/home/ftp

File does not exist: /var/www/html/home/ftpuser/ (...) /index.php

To solve it I had to tweak .htaccess and set RewriteBase.

RewriteBase /ps/admin/