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: 226

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: 226

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
Member
Registered: 2013-02-14
Posts: 42

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: 62

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
Member
Registered: 2013-02-14
Posts: 42

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
Member
Registered: 2015-03-16
Posts: 68

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: 189

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

Grupo de GLPI Español (Telegram): https://t.me/glpisp  // @glpisp

Offline

#12 2019-11-27 18:59:23

jalvergne
Member
Registered: 2013-02-14
Posts: 42

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

I can't find <Directory /var/www/> in httpd.conf.

Offline

#13 2019-12-02 19:43:11

jalvergne
Member
Registered: 2013-02-14
Posts: 42

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

Do I need to add it ?

Offline

#14 2020-01-22 18:21:12

jalvergne
Member
Registered: 2013-02-14
Posts: 42

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

Somebody could answer me, please ?

Offline

#15 2020-01-22 19:33:36

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

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

Let windows and use linux for your glpi server.

Offline

#16 2020-01-27 11:21:21

jalvergne
Member
Registered: 2013-02-14
Posts: 42

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

It's not possible for the moment. An other answer, please smile.

Offline

#17 2020-01-29 12:12:44

alberto.unex.es
Member
From: Badajoz, Espagne
Registered: 2020-01-29
Posts: 3

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

jalvergne wrote:

I can't find <Directory /var/www/> in httpd.conf.

I think it is not that same directory in Windows, but I can't say for sure what it is... Try

<Directory "C:/wamp64/www/">

or

<Directory "C:/wamp64/www/glpi/">

Offline

#18 2020-02-04 12:10:54

jalvergne
Member
Registered: 2013-02-14
Posts: 42

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

Thank you at all, my problem was corrected by adding "Require all granted" in httpd.conf like robertocarlos.floresh

Offline

#19 2020-02-05 11:25:57

sirusa
Member
Registered: 2020-02-05
Posts: 1

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

Yes, adding "Require all granted"  to the https.conf has fixed the issue.

Offline

Board footer

Powered by FluxBB