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.

Forbidden error on /download

Greetings,

I have a problem with a fresh install of OCS on debian jessie.
I have a forbidden error with https://my_ocs_server/download/ (same with http).
I checked /etc/apache2/conf-enabled/ocsinventory-reports.conf and i got this :

Alias /download /var/lib/ocsinventory-reports/download
        <Directory /var/lib/ocsinventory-reports/download>
        Order deny,allow
        Allow from all
        Options Indexes FollowSymLinks
        AllowOverride Options
        </Directory>

On the server, www-data is owner of /var/lib/ocsinventory-reports/download/ with chmod 755.

Any hints ?
Thanks dudes.
in OCS Inventory NG server for Unix by (340 points)

1 Answer

0 votes
I'm replying to myself, this is a problem with apache 2.4 conf.
In 2.2, you have to use this code :

                 Order allow,deny
                 allow from all

And now in 2.4 you have to use :

                Require all granted

This is working now :)
by (340 points)
 
Powered by Question2Answer
...