- Posts: 85
- Thank you received: 9
Ask the community, share ideas, and connect with other LimeSurvey users!
location ~ ^/master/upload/surveys/.*/fu_[a-z0-9]*$ { deny all; }
location /master/ { index index.html index.htm index.php; try_files $uri $uri/ /index.php?r=$uri&$args; if (!-e $request_filename){ rewrite ^(.*)$ /master/index.php; } location ~ ^/master/(application|framework|themes/\w+/views) { deny all; } location ~ location ~ ^/master/upload/surveys/.*/fu_[a-z0-9]*$ { deny all; } location ~ ^/master/(.*/)?\.+ { return 403; } }
location /master/ { index index.html index.htm index.php; try_files $uri $uri/ /index.php?r=$uri&$args; if (!-e $request_filename){ rewrite ^(.*)$ /master/index.php; } location ~ ^/master/(application|docs|framework|themes/\w+/views) { deny all; } location ~ ^/master/upload/surveys/.*/fu_[a-z0-9]*$ { return 444; } location ~ ^/master/(.*/)?\.+ { return 403; } location ~* /master/upload/.*\.(pl|cgi|py|pyc|pyo|phtml|sh|lua|php|php3|php4|php5|php6|pcgi|pcgi3|pcgi4|pcgi5|pcgi6|icn)$ { return 444; } }
jelo wrote: Is there a bugticket about this improvement? About redirections htaccess and .users and NGINX.
Can be only a "documentation" issue, since we can't fix it in LimeSurvey code.jelo wrote: Is there a bugticket about this improvement? About redirections htaccess and .users and NGINX.
DenisChenu wrote:
Can be only a "documentation" issue, since we can't fix it in LimeSurvey code.jelo wrote: Is there a bugticket about this improvement? About redirections htaccess and .users and NGINX.
If you find a good place ?
Unsure
www.limesurvey.org/manual/Not_categorized_and_advanced_features
www.limesurvey.org/manual/General_FAQ
www.limesurvey.org/manual/General_FAQ#Ho...to_get_a_shorter_URL is outdated.
@marcgold : did you check with other part for security ? fu_ and (php|cgi…) ?
The issue is about what is shipped as default htaccess and other help files (user and nginx to add) with the core distribution.DenisChenu wrote: Can be only a "documentation" issue, since we can't fix it in LimeSurvey code.
htaccess are inside LimeSurvey directory.jelo wrote:
The issue is about what is shipped as default htaccess and other help files (user and nginx to add) with the core distribution.DenisChenu wrote: Can be only a "documentation" issue, since we can't fix it in LimeSurvey code.
…