- Posts: 6
- Thank you received: 0
Ask the community, share ideas, and connect with other LimeSurvey users!
<IfModule mod_rewrite.c> RewriteEngine on # if a directory or a file exists, use it directly RewriteCond %{REQUEST_FILENAME} !-f # RewriteCond %{REQUEST_FILENAME} !-d # otherwise forward it to index.php RewriteRule . index.php # deny access to hidden files and directories except .well-known RewriteCond %{REQUEST_URI} !^/\.well-known RewriteRule ^(.*/)?\.+ - [F] </IfModule> # deny access to hidden files and directories without mod_rewrite RedirectMatch 403 ^/(?!\.well-known/)(.*/)?\.+ # General setting to properly handle LimeSurvey paths # AcceptPathInfo on