Hi there,
when I did a virtual environment setup for KoolReport, the root directory would just always refer to "/". I had installed the examples in a directory like
http://koolreport-examples.test/
which would point to
/www/koolreport/examples
on my web server, where that /examples directory would be the document root for the examples.
Here is a fix:
https://www.mnott.de/how-to-make-koolreport-run-in-virtual-directories/
Rgds,
M