# # Apache # # LoadModule rewrite_module modules/mod_rewrite.so # # AllowOverride All RewriteEngine On # RewriteCond $1 !^(.well-known) RewriteRule ^(.*) index.php?/$1 [L] ###----------------------------------- ### nginx # #################rewrite ^(.*) /index.php?/$1 last; # rewrite ^/(?!.well-known)(.*)$ /index.php?/$1 last; # ### caddy # rewrite { # to index.php?/$1 # } ###-----------------------------------