Changes

Jump to navigation Jump to search
461 bytes added ,  15:41, 12 March 2015
==HTTP Options==
If BaseX is run as [[Web Application]]web servlet, the HTTP options are either determined by the web server, or must be specified in the <code>[https://github.com/BaseXdb/basex-api/tree/master/src/main/webapp/WEB-INF webapp/WEB-INF]</code> directory and the {{Code|jetty.xml}} and {{Code|web.xml}} configuration files.
===WEBPATH===
|-
| '''Summary'''
|Points to the directory in which all the [[Web Application]] contents are stored, including XQuery, Script, [[RESTXQ]] and configuration files. This option is ignored if BaseX is deployed as [[Web Application#Servlet_Container|web servlet]].
|}
| '''Summary'''
|Points to the directory which contains the [[RESTXQ]] modules of a web application. Relative paths will be resolved against the [[#WEBPATH|WEBPATH]] directory.
|}
 
===RESTPATH===
 
{{Mark|Introduced with Version 8.1}}:
 
{| width='100%'
|-
| width='120' | '''Signature'''
|{{Code|RESTPATH [path]}}
|-
| '''Default'''
|''empty''
|-
| '''Summary'''
|Points to the directory which contains XQuery files and command scripts, which can be evaluted via the [[REST#GET Requests|REST run operation]]. Relative paths will be resolved against the [[#WEBPATH|WEBPATH]] directory.
|}
Bureaucrats, editor, reviewer, Administrators
12,234

edits

Navigation menu