[ANSWERED]: Web server root?

Posted on
Wed Mar 04, 2015 2:11 pm
lochnesz offline
Posts: 370
Joined: Oct 01, 2014
Location: Stockholm, Sweden

[ANSWERED]: Web server root?

I tried to put my own html file in /Library/Application Support/Perceptive Automation/Indigo 6/IndigoWebServer/templates/ as well as in /Library/Application Support/Perceptive Automation/Indigo 6/IndigoWebServer/ , but I can't load the html page from a browser (undefined page requested). Is the web root somewhere else, or is there some magic needed in the web server to make this work?
Thanks!

Posted on
Thu Mar 05, 2015 10:01 am
matt (support) offline
Site Admin
User avatar
Posts: 21417
Joined: Jan 27, 2003
Location: Texas

Re: Web server root?

Try putting it into:

/Library/Application Support/Perceptive Automation/Indigo 6/IndigoWebServer/static/

(or instead of static you can use css, images, js. You then access it via a relative URL using the same folder/path name.

Image

Posted on
Thu Mar 05, 2015 2:09 pm
lochnesz offline
Posts: 370
Joined: Oct 01, 2014
Location: Stockholm, Sweden

Re: [ANSWERED]: Web server root?

:D Worked fine! Thanks!

Page 1 of 1

Who is online

Users browsing this forum: No registered users and 9 guests

cron