[isidorus-cvs] r744 - trunk/src/shell_scripts

Author: lgiessmann Date: Wed Aug 17 02:56:52 2011 New Revision: 744 Log: trunk: shell_scripts: changed the state of the http-basic-authentication mechanism in the start script for TextGrid Modified: trunk/src/shell_scripts/startIsidorus.lisp Modified: trunk/src/shell_scripts/startIsidorus.lisp ============================================================================== --- trunk/src/shell_scripts/startIsidorus.lisp Wed Aug 17 02:49:33 2011 (r743) +++ trunk/src/shell_scripts/startIsidorus.lisp Wed Aug 17 02:56:52 2011 (r744) @@ -2,10 +2,10 @@ (asdf:operate 'asdf:load-op 'isidorus) ;;(xtm-importer:import-from-xtm "/home/isidorus/.sbcl/site/isidorus/src/unit_tests/textgrid_07.15.2011.xtm" "data_base" :tm-id "http::/isidor.us/tm-1") (setf rest-interface:*users* (list (list :uname "isidorus" :passwd "Ar8g7Pw"))) -(setf rest-interface:*use-http-authentication* 1) ;only the host page isidorus.html is protected, note: all RESTful handlers can be invoked without any authentication mechanism!!! -(setf rest-interface:*local-backup-remote-address* "143.93.190.247") -(setf rest-interface:*remote-backup-remote-address* "143.93.190.247") -(setf rest-interface:*shutdown-remote-address* "127.0.0.1") +(setf rest-interface:*use-http-authentication* 2) ;only the host page isidorus.html and the commit handlers are protected +(setf rest-interface:*local-backup-remote-address* "143.93.190.247") ;the allowed other remove peer ip +(setf rest-interface:*remote-backup-remote-address* "143.93.190.247") ;the allowed other remove peer ip +(setf rest-interface:*shutdown-remote-address* "127.0.0.1") ;the allowed other remove peer ip (rest-interface:start-json-engine "/home/isidorus/data_base" :host-name "143.93.190.176" :port 7000) (rest-interface:start-admin-server) (format t "will enter die-when-finished")
participants (1)
-
lgiessmann@common-lisp.net