The Agent can't connect to http://server/ocsinventory Error 404
----- apache.log ------
[Wed Sep 28 12:05:32.075742 2016] [core:info] [pid 16645] [client 192.168.2.37:51885] AH00128: File does not exist: /var/www/html/ocsinventory
mod_perl ist active
[Wed Sep 28 11:55:35.144835 2016] [mpm_prefork:notice] [pid 16640] AH00163: Apache/2.4.10 (Debian) OpenSSL/1.0.1t mod_perl/2.0.9dev Perl/v5.20.2 configured -
- resuming normal operations
--------------------------
------- ocs agent.log --------------
==============================================================================
Starting OCS Inventory NG Agent on Wednesday, September 28, 2016 12:25:23.
AGENT => Running OCS Inventory NG Agent Version 2.1.1.3
AGENT => Using OCS Inventory NG FrameWork Version 2.1.1.3
AGENT => Loading plug-in(s)
DLL PLUGIN => Searching for Plug-in DLL(s) in folder <C:\Program Files (x86)\OCS Inventory Agent\plugins>
DLL PLUGIN => 0 DLL Plug-in(s) successfully loaded on 0 DLL(s) found
AGENT => Using network connection with Communication Server
COM PROVIDER => Loading Communication Provider <C:\Program Files (x86)\OCS Inventory Agent\ComHTTP.dll>
AGENT => Using Communication Provider <OCS Inventory NG cURL Communication Provider> Version <2.1.1.3>
AGENT => Sending Prolog
DID_CHECK => Read DeviceID <XXXX2014-06-30-11-27-34> and MACs <XXXXXXXXXXX> in file <ocsinventory.dat>
COM SERVER => Initializing cURL library for sendRequest
COM SERVER => Using cURL without server authentication
COM SERVER => Disabling cURL proxy support
COM SERVER => Disabling cURL SSL server validation support
COM SERVER => Sending HTTP Post request to URL <http://inventar/ocsinventory>
COM SERVER => HTTP Post response received <HTTP Status Code #404>
COM SERVER => Cleaning cURL library
================= TRACE START ===============
================= TRACE STOP ===============
ERROR *** AGENT => Failed to send Prolog <HTTP Status Code #404>
AGENT => Unloading communication provider
AGENT => Unloading plug-in(s)
AGENT => Execution duration: 00:00:00.
-------------------------------------
I tried everything. Need help please.
Thank oyu