The IndigoWebServer runs as a separate Python process (independent of the IndigoServer itself). You can, in theory, start another version of the IndigoWebServer that listens to a different port number.
Something like this from the Terminal will start another web server on port 8001:
- Code: Select all
python /Library/Application Support/Perceptive Automation/Indigo 2/IndigoWebServer/IndigoWebServer.py -i 1176 -w 8001 -cnd &
The trick would then be to modify this second instance to have restrictions. This would be possible by hacking around with this file:
/Library/Application Support/Perceptive Automation/Indigo 2/IndigoWebServer/indigopy/indigoreqhandler.py
Regards,
Matt