Re: Using Settings

Anne Ogborn <[email protected]>
Newsgroups gmane.comp.ai.prolog.swi
Message-ID <[email protected]>
OK, another snag.

I want to rebase this server.  

I have various servers I'm working on on my machine, and want to rebase only this one,
but I can't set http:prefix in my local settings.conf file?

14 ?- use_module(library(http/http_path)).
true.

15 ?- setting(X, Y).
false.

16 ?- set_setting(http:prefix, '/crane').
ERROR: setting `prefix' does not exist
17 ?- save_settings.
true.

18 ?- list_settings.
========================================================================
Name                      Value (*=modified) Comment
========================================================================
http:chunked_transfer     on_request     When to use Transfer-Encoding: Chunked
http:public_host          ''             Name the outside world can use to contact me
http:public_port          80             Port on the public server
http:public_scheme        http           Default URL scheme to use
http:time_limit           300            Time limit handling a single query (0=infinite)
listing:body_indentation  8              Indentation used goals in the body
listing:tab_distance      8              Distance between tab-stops.  0 uses only spaces
listing:cut_on_same_line  true           Place cuts (!) on the same line
listing:line_width        78             Width of a line.  0 is infinite
prolog_pack:server        'http://www.swi-prolog.org/pack/' Server to exchange pack information
cranegame:debug_port      14000          Port to run the Crane Game on in debug mode.
cranegame:production_port 14000          Port to run the Crane Game on in production mode.
true.


Perusing cliopatria code leaves me semibaffled.

::Annie is here, hiding from ClioPatria behind a semibaffle::
-------------- next part --------------
HTML attachment scrubbed and removed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.