basex SERVERHOST

Saturday, 22 December 2012 · 3 messages
LQ
Liam R E Quin22 Dec 2012 04:56 #
How do I use SERVERHOST in ~/.basex (or elsewhere) to get basex to listen on the given PORT only on localhost (127.0.0.1) and not on externally-visible IP addresses? Setting SERVERHOST and HOST to localhost does not seem to accomplish this. Thanks!
-- Liam Quin - XML Activity Lead, W3C, http://www.w3.org/People/Quin/ Pictures from old books: http://fromoldbooks.org/ Ankh: irc.sorcery.net irc.gnome.org freenode/#xml
LQ
Liam R E Quin22 Dec 2012 05:05 #
Quoted text · Liam R E Quin · 7 lines
On Fri, 2012-12-21 at 21:54 -0500, Liam R E Quin wrote: > How do I use SERVERHOST in ~/.basex (or elsewhere) to get basex to > listen on the given PORT only on localhost (127.0.0.1) and not on > externally-visible IP addresses? > > Setting SERVERHOST and HOST to localhost does not seem to accomplish > this.
To answer my own question, it's the .basex file in the BaseX distribution directory that is read, not the one in the user's home directory. There's also an attmept to read .basex in the directory from which the basex server (or client) was run, but that's not in general the home directory.
Quoted text · Liam R E Quin · 3 lines
> > Thanks! >
-- Liam Quin - XML Activity Lead, W3C, http://www.w3.org/People/Quin/ Pictures from old books: http://fromoldbooks.org/ Ankh: irc.sorcery.net irc.gnome.org freenode/#xml
CG
Christian Grün22 Dec 2012 13:15 #
...exactly. Some more information how the .basex file is chosen can be found on our Configuration page [1]. [1] http://docs.basex.org/wiki/Configuration
Quoted text · Liam R E Quin · 30 lines
On Sat, Dec 22, 2012 at 4:03 AM, Liam R E Quin <liam at w3.org> wrote: > On Fri, 2012-12-21 at 21:54 -0500, Liam R E Quin wrote: >> How do I use SERVERHOST in ~/.basex (or elsewhere) to get basex to >> listen on the given PORT only on localhost (127.0.0.1) and not on >> externally-visible IP addresses? >> >> Setting SERVERHOST and HOST to localhost does not seem to accomplish >> this. > > To answer my own question, it's the .basex file in the BaseX > distribution directory that is read, not the one in the user's home > directory. > > There's also an attmept to read .basex in the directory from which the > basex server (or client) was run, but that's not in general the home > directory. > >> >> Thanks! >> > > -- > Liam Quin - XML Activity Lead, W3C, http://www.w3.org/People/Quin/ > Pictures from old books: http://fromoldbooks.org/ > Ankh: irc.sorcery.net irc.gnome.org freenode/#xml > > _______________________________________________ > BaseX-Talk mailing list > BaseX-Talk at mailman.uni-konstanz.de > https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk

⚡Generated with XQuery