apache - How do I disable automatic slash appending -


if link example.com/page/1 correct example.com/page/1/. how prevent redirect happening? need change in .htaccess or have edit server config file?

this current .htaccess file:

rewriteengine on rewritecond %{https} !=on rewriterule ^ https://%{http_host}%{request_uri} [l,r=301] options -indexes 

rewritecond %{request_filename} !-f rewriterule ^(.*[^/])$ http://%{http_host}/$1/ [l,r=301]


Comments

Popular posts from this blog

powershell Start-Process exit code -1073741502 when used with Credential from a windows service environment -

twig - Using Twigbridge in a Laravel 5.1 Package -

c# - LINQ join Entities from HashSet's, Join vs Dictionary vs HashSet performance -