first i enabled mod rewrite then i used in my .htaccess this
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME}.php -f
RewriteRule ^(.*)$ $1.php
virtual hosts file is a standard installation of LAMP
ServerAdmin webmaster@localhost
DocumentRoot /var/www/webtrade
i have been trying various combinations in my .htaccess file but none worked when i access a link like domain/something it automatically becomes domain/something/ with a forward slash.
ubuntu-support-status
to confirm if your system is still supported. Either way, if the machine is on-line, you should plan to release-upgrade asap unless you plan to use ESM/Pro, but please note ESM/Pro releases are not on-topic here when standard support ends (May-2023).