General FAQ/70/nl: Difference between revisions
From LimeSurvey Manual
No edit summary |
No edit summary |
||
Line 4: | Line 4: | ||
root /PATH/TO/LIMESURVEY; | root /PATH/TO/LIMESURVEY; | ||
charset utf-8; | charset utf-8; | ||
try_files $uri | try_files $uri /index.php?$uri&$args; | ||
# | # Lezen in map php-script niet toestaan, zie issue met debug > 1 | ||
location ~ ^/(application|docs|framework|locale|protected|tests|themes/\w+/views) { | location ~ ^/(application|docs|framework|locale|protected|tests|themes/\w+/views) { | ||
deny all; | deny all; | ||
} | } | ||
# Lezen in runtime map niet toestaan | # Lezen in runtime map niet toestaan | ||
location ~ ^/tmp/runtime/ { | |||
deny all; | |||
} | } | ||
Revision as of 16:02, 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; # Lezen in map php-script niet toestaan, zie issue met debug > 1 location ~ ^/(application|docs|framework|locale|protected|tests|themes/\w+/views) { deny all; } # Lezen in runtime map niet toestaan location ~ ^/tmp/runtime/ { deny all; }