Menu

Non localhost browsers

Help
2005-04-14
2013-03-22
  • Tim Nicholson

    Tim Nicholson - 2005-04-14

    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?

     
    • Brad Fears

      Brad Fears - 2005-04-14

      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

       
    • Tim Nicholson

      Tim Nicholson - 2005-04-14

      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?

       

Log in to post a comment.

Auth0 Logo