JAXRXPATH property, Basic auth
Wednesday, 11 May 2011 · 3 messages · last reply 21 May 2011
CD
Computer Software Developer11 May 2011 15:31 #
1. After upgrading to 6.6.2 from 6.5.1, JAXRX cannot find my xquery files stored on server side even though the property JAXRXPATH is defined and is pointing to the directory containing the xquery files, the directory is mounted.
Any pointers on how it should be configured?
Below is the ~/.basex file's contents:
DBPATH = /home/developer/BaseXData
JAXRXPATH = /media/queries/
LANG = English
LANGKEYS = false
HOST = localhost
PORT = 1984
SERVERPORT = 1984
JAXRXPORT = 8984
TIMEOUT = 0
Do I need to specify RESTPATH instead (if I do that, I get RESTPATH not found message upon JAXRX server startup)?
2. I have been trying to provide basic auth using
admin:admin@localhost:8984 notation in the URL in Firefox, but Firefox says the web-site does not require authentication and then does not apparently pass the auth header to JAX-RX. Does JAX-RX not return 401 with WWW-Authenticate header so the user can authenticate?
Thanks.LL
Lukas Lewandowski11 May 2011 22:07 #
To 2.)
Currently it works only with client code, cURL and Opera browser.
I will fix it when I will be back from holiday (next week).
Sorry for this inconvenience,
Lukas
Quoted text · Computer Software Developer · 33 lines
On Wednesday, May 11, 2011 15:31 CEST, Computer Software Developer <computer.software.developer at gmail.com> wrote: > 1. After upgrading to 6.6.2 from 6.5.1, JAXRX cannot find my xquery > files stored on server side even though the property JAXRXPATH is > defined and is pointing to the directory containing the xquery files, > the directory is mounted. > > Any pointers on how it should be configured? > > Below is the ~/.basex file's contents: > DBPATH = /home/developer/BaseXData > JAXRXPATH = /media/queries/ > LANG = English > LANGKEYS = false > HOST = localhost > PORT = 1984 > SERVERPORT = 1984 > JAXRXPORT = 8984 > TIMEOUT = 0 > > Do I need to specify RESTPATH instead (if I do that, I get RESTPATH not > found message upon JAXRX server startup)? > > 2. I have been trying to provide basic auth using > admin:admin@localhost:8984 notation in the URL in Firefox, but Firefox > says the web-site does not require authentication and then does not > apparently pass the auth header to JAX-RX. Does JAX-RX not return 401 > with WWW-Authenticate header so the user can authenticate? > > Thanks. > _______________________________________________ > BaseX-Talk mailing list > BaseX-Talk at mailman.uni-konstanz.de > https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk
CG
Dear Computer Software Developer,
feel free to check out the latest snapshots, which should fix both issues you mentioned:
http://files.basex.org/releases/latest/
Hth, Christian
Quoted text · Computer Software Developer · 35 lines
On Wed, May 11, 2011 at 3:31 PM, Computer Software Developer <computer.software.developer at gmail.com> wrote: > 1. After upgrading to 6.6.2 from 6.5.1, JAXRX cannot find my xquery > files stored on server side even though the property JAXRXPATH is > defined and is pointing to the directory containing the xquery files, > the directory is mounted. > > Any pointers on how it should be configured? > > Below is the ~/.basex file's contents: > DBPATH = /home/developer/BaseXData > JAXRXPATH = /media/queries/ > LANG = English > LANGKEYS = false > HOST = localhost > PORT = 1984 > SERVERPORT = 1984 > JAXRXPORT = 8984 > TIMEOUT = 0 > > Do I need to specify RESTPATH instead (if I do that, I get RESTPATH not > found message upon JAXRX server startup)? > > 2. I have been trying to provide basic auth using > admin:admin@localhost:8984 notation in the URL in Firefox, but Firefox > says the web-site does not require authentication and then does not > apparently pass the auth header to JAX-RX. Does JAX-RX not return 401 > with WWW-Authenticate header so the user can authenticate? > > Thanks. > _______________________________________________ > BaseX-Talk mailing list > BaseX-Talk at mailman.uni-konstanz.de > https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk >
Written for BaseX 6.6. BaseX may have changed since: please check the current documentation.
⚡Generated with XQuery