Hi,
Had the same problem after a fresh installation, and you will also have problem with the download section.
Solution is:
1. Edit /etc/apache2/modules.d/ocsinventory-reports.conf (wherever it's located for you) to match the following (NB. DO NOT COPY PASTE !!! as I removed some parts specific to my server -> just match those directives)
[code]
Alias /ocsreports /usr/share/ocsinventory-reports/ocsreports
<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
</Directory>
Alias /download /var/lib/ocsinventory-reports/download
<Directory /var/lib/ocsinventory-reports/download>
# By default, users can use console from everywhere
Order deny,allow
Allow from all
Options Indexes FollowSymLinks
DirectoryIndex index.php
AllowOverride Options
</Directory>
[/code]
2. Verify that apache user can access the alias directories, if needed, chown and chmod these directories (recursively) or set the correct permissions, if running on windows
Hope I did not forgot something :-) Good luck !
behd