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 page /download [closed]

Hi I have a forbidden page when i try to access to 192.168.1.12/download

This is my log :

[autoindex:error] [pid xxxxx] [client xxx.xxx.xxx.xxx:xxxxx] AH01276: Cannot serve directory /var/lib/ocsinventory-reports/download/: No matching DirectoryIndex (index.html,index.cgi,index.pl,index.php,index.xhtml,index.htm) found, and server-generated directory index forbidden by Options directive

Someone can help me ?
closed with the note: I found
in OCS Inventory NG server for Unix by (440 points)
closed by

1 Answer

0 votes
Ok solved !

thank to this link :
https://ask.ocsinventory-ng.org/5827/deployment-activate?show=9078#a9078

add the following code lines to your Apache config file (/etc/apache2/apache2.conf)

Alias /download "/var/lib/ocsinventory-reports/download"

<Directory "/var/lib/ocsinventory-reports/download">

Options Indexes FollowSymLinks MultiViews

AllowOverride None

Require all granted

</Directory>

You need also to verify permissions mask in the download path with:

chmod 775 /var/lib/ocsinventory-reports/download
by (440 points)
 
Powered by Question2Answer
...