I'm trying to make / at the end of all URLs. How is shown in this article https://planet-bludit.ch/update-und-mig ... -einer-url
Code: Select all
AddDefaultCharset UTF-8
<ifmodule mod_rewrite.c="">
# Enable rewrite rules
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} (.+)/$
RewriteRule ^ %1 [R=301,L]
# Deny direct access to .txt files
RewriteRule ^bl-content/(.*)\.txt$ - [R=404,L]
# All URL process by index.php
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*) index.php [PT,L]
</ifmodule>
Has anyone else encountered this problem? on the board apache, docker 20.10.7