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.

How to access to webadmin with friendly url?

Hi All,

I've just run success OCS on docker. Basically, I can access to web admin from url http://192.168.1.20/ocsreports. My concern, how to make the URL more friendly by ignore /ocsreports ? Is it possible to access web admin via http://192.168.1.20 only?

Thank guys,

Jacky
in OCS Inventory NG server for Unix by (400 points)

1 Answer

0 votes

# nano /etc/apache2/sites-enabled/default-ssl.conf
mark as comment documentroot and write:
DocumentRoot /usr/share/ocsinventory-reports/ocsreports

# nano /etc/apache2/sites-enabled/000-default.conf
mark as comment documentroot and write:
DocumentRoot /usr/share/ocsinventory-reports/ocsreports


# service apache2 restart

 

by (810 points)
 
Powered by Question2Answer
...