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.

htaccess con server side do not work [closed]

Hi, I was not able to enable agent login to /ocsinventory location

Step to riproduce my environment (CentOS 7.10, ocsinventory from RPMs)

Create a password: 

sudo htpasswd -b /etc/ocsinventory/ocsinventory-server/htpasswd agentsdb agentsdb-pass

Enable Auth con location on ocsinventory-server.conf

diff ocsinventory-server.conf ocsinventory-server.conf.bak

323,326c323,326

<       AuthType Basic

<       AuthName "OCS Inventory agent area"

<       AuthUserFile "/etc/ocsinventory/ocsinventory-server/htpasswd"

<       require valid-user

---

>       # AuthType Basic

>       # AuthName "OCS Inventory agent area"

>       # AuthUserFile "/etc/ocsinventory/ocsinventory-server/htpasswd"

>       # require valid-user

But no authentication is required on https://myserver.acme.com/ocsinventory
Please help

closed with the note: found error, HTTPD 2.2 and 2.4 missmatch
in OCS Inventory NG server for Unix by (120 points)
closed by
 
Powered by Question2Answer
...