General FAQ/70/nl: Difference between revisions
From LimeSurvey Manual
No edit summary |
No edit summary |
||
Line 5: | Line 5: | ||
charset utf-8; | charset utf-8; | ||
try_files $uri /index.php?$uri&$args; | try_files $uri /index.php?$uri&$args; | ||
# | # Disallow reading inside php script directory, see issue with debug > 1 on note | ||
location ~ ^/(application|docs|framework|locale|protected|tests|themes/\w+/views) { | location ~ ^/(application|docs|framework|locale|protected|tests|themes/\w+/views) { | ||
deny all; | deny all; | ||
} | } | ||
# | # Disallow reading inside runtime directory | ||
location ~ ^/tmp/runtime/ { | location ~ ^/tmp/runtime/ { | ||
deny all; | deny all; | ||
} | } |
Latest revision as of 16:09, 28 March 2023
<syntaxhighlight lang="apache">server {
set $host_path "/PATH/TO/LIMESURVEY"; server_name YOUR.SERVER.FQDN; root /PATH/TO/LIMESURVEY; charset utf-8; try_files $uri /index.php?$uri&$args; # Disallow reading inside php script directory, see issue with debug > 1 on note location ~ ^/(application|docs|framework|locale|protected|tests|themes/\w+/views) { deny all; } # Disallow reading inside runtime directory location ~ ^/tmp/runtime/ { deny all; }