Although Node runner access works fine if accessed from a browser running on the same machine as the web server, acessing from a remote produces an error.
This appears to be because of the line in nr.inc:-
Well I guess it depends upon whether or not you assume its asking for the URL of the server in relation to the database.
Since I am using Mysql and Apache on the same box "localhost" seems to make perfect sense, I didn't realise it would affect al references, since having acessed http://my.host/node-runner/index.php I would have expected all other calls to be relative, not absolute.
Perhaps a slightly expanded explanation on these lines?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Although Node runner access works fine if accessed from a browser running on the same machine as the web server, acessing from a remote produces an error.
This appears to be because of the line in nr.inc:-
"$nr_url = "http://localhost/node-runner/";......"
Replacing this with an FQD e.g."my.node_runner.server" seems to make it all work from a remote web browser.
Is this the best way to do this?
Yes, the installer should have prompted you for the url of the server, so in most cases, people won't use "localhost".
The comments for that variable in nr.inc state:
"This should point to the url where the NR html files were placed."
Should I have been more clear? If so, what would you suggest?
--Brad Fears
Well I guess it depends upon whether or not you assume its asking for the URL of the server in relation to the database.
Since I am using Mysql and Apache on the same box "localhost" seems to make perfect sense, I didn't realise it would affect al references, since having acessed http://my.host/node-runner/index.php I would have expected all other calls to be relative, not absolute.
Perhaps a slightly expanded explanation on these lines?