Changes

Jump to navigation Jump to search
391 bytes added ,  14:50, 18 April 2018
m
Fixed wiki syntax for links
| Executes [[Commands]]:
* Several commands in the input can be separated by semicolons ({{Code|;}}).
* If the specified input is a valid URL or file reference or URL, its content this file will be executed instead. Empty lines and lines starting with the number sign {{Codeevaluated as [[Commands#Command_Scripts|#}} will be ignoredCommand Script]].
|
|
=Server=
 
{{Mark|Updated with Version 9.0:}} {{Code|-c}} flag now accepts valid URLs and file references.
;Launch the server
BaseX [Server]
Usage: basexserver [-cdinpSz] [stop]
stop Stop running server -c<cmdsinput> Execute initial database commandsfrom file or string -d Activate debugging mode -n<name> Set host the server is bound to -p<port> Set server port -S Start as service -z Suppress logging
</pre>
|- valign="top"
| {{Code|-c&lt;cmd&gt;}}
| Launches database Executes [[Commands]]:* Several commands before in the server itself is started. Several commands input can be separated by semicolons ({{Code|;}}).* If the specified input is a valid URL or file reference, this file will be evaluated as [[Commands#Command_Scripts|Command Script]].
|
|
=HTTP Server=
 
{{Mark|Introduced with Version 9.0:}} {{Code|-c}} flag accepts commands and valid URLs and file references.
;Launch the HTTP server:
BaseX [HTTP]
Usage: basexhttp [-dhlnpPRUWz] [stop]
stop Stop running server -c<input> Execute commands from file or string -d Activate debugging mode -h<port> Set port of HTTP server -l Start in local mode -n<name> Set host name of database server -p<port> Set port of database server -P<pass> Specify user password -s<port> Specify port to stop HTTP server -S Start as service -U<name> Specify user name -z Suppress logging
</pre>
|
|
|- valign="top"
| {{Code|-c&lt;cmd&gt;}}
| Executes [[Commands]]:
* Several commands in the input can be separated by semicolons ({{Code|;}}).
* If the specified input is a valid URL or file reference, this file will be evaluated as [[Commands#Command_Scripts|Command Script]].
|
|
| {{Code|-c"open database"}}
|- valign="top"
| {{Code|-d}}
| {{Code|1984}}
| {{Code|-p9998}}
|- valign="top"
| {{Code|-P&lt;pass&gt;}}
| Specifies a user password, which will be used by the HTTP services to open a new session. If this flag is omitted, and if {{Code|-U}} was specified, the password will be requested on command line. ''Warning'': when the password is specified with this flag, it may get visible to others.
| <code>[[Options#PASSWORD|PASSWORD]]</code>
|
| {{Code|-Uadmin -Padmin}}
|- valign="top"
| {{Code|-s&lt;num&gt;}}
=Changelog=
 
;Version 9.0
 
* Added: BaseXHTTP, command-line option {{Code|-c}}.
* Updated: BaseXHTTP, command-line option {{Code|-c}}, additionally accepts valid URLs and file references.
;Version 8.2
administrator, editor
43

edits

Navigation menu