You are not logged in.

Announcement

 Téléchargez la dernière version stable de GLPI      -     Et vous, que pouvez vous faire pour le projet GLPI ? :  Contribuer
 Download last stable version of GLPI                      -     What can you do for GLPI ? :  Contribute

#1 2019-09-13 16:00:47

Alfio Santoro
Member
From: Milan
Registered: 2019-09-02
Posts: 3

GLPI DEPLOY: Web access to the files directory, should not be allowed

Hi,

I'm trying to install GLPI on a Windows Server 2016 server, with IIS10 and PHP 7.2.
I have given the modification permissions to the users: IIS_IUSRS, Users, IUSR, NETWORK SERVICE (permissions to modify the glpi folder).

During the verification of the requirements, the following message is returned to me:
"Web access to the files directory should not be allowed but this cannot be checked automatically on this instance.
Make sure acces to error log file is forbidden; otherwise review .htaccess file and web server configuration."

Any suggestions on how to solve?

Thank you.

Last edited by Alfio Santoro (2019-09-30 14:20:14)


System & Network specialist

Offline

#2 2019-09-30 14:20:54

Alfio Santoro
Member
From: Milan
Registered: 2019-09-02
Posts: 3

Re: GLPI DEPLOY: Web access to the files directory, should not be allowed

Anyone who can suggest me some solution?


System & Network specialist

Offline

#3 2019-09-30 14:40:07

mecmav
Member
From: Brasil
Registered: 2019-03-22
Posts: 130

Re: GLPI DEPLOY: Web access to the files directory, should not be allowed

Alfio Santoro wrote:

Anyone who can suggest me some solution?

Hello

I don't know much about how to set up GLPI on windows servers, but you already did review the access permissions to correct read/write of webserver to access files from glpi folder. Usually this is setup to apache group with recursive permissions (i don't know if you using apache).

What version of glpi you trying install?

Offline

#4 2019-09-30 16:22:59

Alfio Santoro
Member
From: Milan
Registered: 2019-09-02
Posts: 3

Re: GLPI DEPLOY: Web access to the files directory, should not be allowed

Hi,

i use glpi 9.4.4, PHP 7.3.7 , on Windows Server 2016 with IIS.
I gave permission for changes to the following groups: IUSR, Users, IIS_IUSRS,

thank you.


System & Network specialist

Offline

#5 2019-09-30 17:11:32

mecmav
Member
From: Brasil
Registered: 2019-03-22
Posts: 130

Re: GLPI DEPLOY: Web access to the files directory, should not be allowed

Alfio Santoro wrote:

Hi,

i use glpi 9.4.4, PHP 7.3.7 , on Windows Server 2016 with IIS.
I gave permission for changes to the following groups: IUSR, Users, IIS_IUSRS,

thank you.

Do you have a instance of Apache running ?

Offline

#6 2019-11-08 11:31:04

jalvergne
Guest
Registered: 2013-02-14
Posts: 33

Re: GLPI DEPLOY: Web access to the files directory, should not be allowed

Hello, I have the same message.
Glpi 9.4.4 is installed on Windows Server 2016, Wamp 3.1.0, Apache 2.4.27, PHP 7.1.9 MySQL 5.7.19.

fl1jpM.jpg

Offline

#7 2019-11-08 18:03:07

melissafalbo
Member
From: Chicago IL
Registered: 2019-11-08
Posts: 1

Re: GLPI DEPLOY: Web access to the files directory, should not be allowed

I also need some solutions?

Offline

#8 2019-11-11 16:03:48

Kaya84
Member
Registered: 2019-06-13
Posts: 54

Re: GLPI DEPLOY: Web access to the files directory, should not be allowed

The fastes solution I know is to use a Linux server and avodi windows. A Virtual machine can be used too.
Otherwise, try with phpcas.
Are u sure u haven't a button with "proceed anyway"?
CAS is used only for auth versus 3d party server

Offline

#9 2019-11-12 12:45:46

jalvergne
Guest
Registered: 2013-02-14
Posts: 33

Re: GLPI DEPLOY: Web access to the files directory, should not be allowed

My problem is not CAS (I don't use it) but the last line with Web access ....

Offline

#10 2019-11-13 11:54:07

grajek
Guest
Registered: 2015-03-16
Posts: 62

Re: GLPI DEPLOY: Web access to the files directory, should not be allowed

Let's start from begining: that last line is only a warning for a person installing GLPI, it doesn't prevent from installing and using GLPI. Are you able to proceed with installation? Forget for a moment about this warning, this can be verified later, with GLPI running.


GLPI 9.4.3 CentOS

Offline

#11 2019-11-13 15:30:34

robertocarlos.floresh
Moderator
From: San Salvador, El Salvador
Registered: 2014-12-29
Posts: 120

Re: GLPI DEPLOY: Web access to the files directory, should not be allowed

Check the apache configuration file... you will see the next lines...

<Directory />
        Options FollowSymLinks
        AllowOverride None
        Require all denied
</Directory>

<Directory /usr/share>
        AllowOverride None
        Require all granted
</Directory>

<Directory /var/www/>
        Options Indexes FollowSymLinks
        AllowOverride None
        Require all granted
</Directory>


And you will change it for this, y the tags <Directory /var/www/>


<Directory />
        Options FollowSymLinks
        AllowOverride None
        Require all denied
</Directory>

<Directory /usr/share>
        AllowOverride None
        Require all granted
</Directory>

<Directory /var/www/>
        Options Indexes FollowSymLinks
        AllowOverride All
        Require all granted
</Directory>

Next restart the apache service


Roberto Flores
Skype: robertocarlos.flores / Telegram: @rcfloresh

Offline

Board footer

Powered by FluxBB