certtools / intelmq-api

FastAPI-based API for the IntelMQ project
https://docs.intelmq.org/latest/user/api/
1 stars 7 forks source link

API on non-/ paths #11

Closed ghost closed 3 years ago

ghost commented 3 years ago

The current apache configuration file has:

   WSGIScriptAlias / /usr/local/lib/python3.7/dist-packages/intelmq_api/intelmq-api.wsgi

Running the API/Manager on / is not always possible, for example when using intelmq-fody on the same host. Is it possible to make it configurable?

We had the same issue with the intelmq-webinput-csv.

ghost commented 3 years ago

In fa5eb8addf78caedb5d6adcab054e0e335b1f72c we replaced the apache virtualhost config with a conf.d snipplet that serves the intelmq API via the path /intelmq- this can be changed to whatever by the users.