You are not logged in.
Pages: 1
Hi,
When i access to CONFIG-> GENERAL -> SYSTEM -> SERVER, appear the next warning
Web access to the files directory, should not be allowed
Check the .htaccess file and the web server configuration.
Can i quit this warning?? What's happen?
Thanks so much!
Offline
Hello. You should close direct access to the files directory in you web server config.
For example how it's done on the nginx web server:
location ~ ^/files/(.+)$ {
deny all;
}
Debian Stretch + nginx 1.10.3 + php7.0-fpm
GLPI v9.3.1 + Reports, Behaviors, Forms
Offline
Hello. You should close direct access to the files directory in you web server config.
For example how it's done on the nginx web server:location ~ ^/files/(.+)$ { deny all; }
First, Thanks so much!
I know this is the right solution, but I do not do it properly.
Can you help me do it like I'm in school?
Thank you very much again.
Offline
Im also not a proffesional web-server administrator, but i will try )
Which web-server you use?
Debian Stretch + nginx 1.10.3 + php7.0-fpm
GLPI v9.3.1 + Reports, Behaviors, Forms
Offline
I'm using ubuntu 16, with apache, php ... normal server.
Offline
Check that you have ".htaccess" file in glpi/files directory.
The file content should be "deny from all"
Debian Stretch + nginx 1.10.3 + php7.0-fpm
GLPI v9.3.1 + Reports, Behaviors, Forms
Offline
Edit - sorry topic
Last edited by KKAdmin (2017-01-11 14:12:17)
You can mark this threat as [resolved] in subject of your threat. (This is only available edit of the first post.) It is good for users who help others to quickly see which post is still open.
##############################################
GLPI 9.3.3
Offline
Check that you have ".htaccess" file in glpi/files directory.
The file content should be "deny from all"
Yes, it is! But the message is there.
Offline
Hi,
have you found a solution to this problem?
Because on my side I always have this warning which, despite my attempts, remains. (I'm on a centos 8 with nginx and on the latest version of glpi)
Offline
Pages: 1