Welcome to OCS Inventory NG community support, where you can ask questions and receive answers from other members of the community.

Please ask questions only in English or French.

Release 2.12.3 available

The official documentation can be found on https://wiki.ocsinventory-ng.org. Read it before asking your question.

Apache - Acces Denied by server

Hello,

I'm installing the last version OCS Inventory Server (on CentOS 7) and when I try to acces to myserver/ocsreports, I obtain "Forbidden" message.

Apache log : AH01630: client denied by server configuration: /usr/share/ocsinventory-reports/ocsreports/

In ocsinventory-reports.conf, config seems to be good :

<Directory /usr/share/ocsinventory-reports/ocsreports>
    # By default, users can use console from everywhere
    Order deny,allow
    Allow from all
    Options Indexes FollowSymLinks
    DirectoryIndex index.php
    AllowOverride Options

Someone know where is problem ?

Thanks a lot !

Nico
in OCS Inventory NG server for Unix by (180 points)
edited by

3 Answers

0 votes
Hi,

Is selinux enabled?

Regards

Frank
by (90.2k points)
No, selinux is disable

I try with firewall disable : same problem :-(
0 votes
I found !

Just remplace "Allow from all" by "Require all granted" in ocsinventory-reports.conf

Now it' works :-)
by (180 points)
0 votes
OK.

Have fun with OCS.

Regards

Frank
by (90.2k points)
 
Powered by Question2Answer
...