Changeset 650 for trunk/src/rest_interface
- Timestamp:
- 07/20/11 13:36:04 (14 years ago)
- Location:
- trunk/src/rest_interface
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified trunk/src/rest_interface/admin-interface.lisp ¶
r649 r650 34 34 (defun admin-shutdown() 35 35 (handler-case 36 (if (string= * admin-remote-name* (hunchentoot:remote-addr*))36 (if (string= *shutdown-remote-address* (hunchentoot:remote-addr*)) 37 37 (progn 38 38 (when elephant:*store-controller* … … 59 59 (defun admin-local-backup() 60 60 (handler-case 61 (if (string= * admin-remote-name* (hunchentoot:remote-addr*))61 (if (string= *local-backup-remote-address* (hunchentoot:remote-addr*)) 62 62 (let ((destination-path 63 63 (hunchentoot:url-decode (hunchentoot:get-parameter "path")))) … … 73 73 (defun admin-remote-backup() 74 74 (handler-case 75 (if (string= * admin-remote-name* (hunchentoot:remote-addr*))75 (if (string= *remote-backup-remote-address* (hunchentoot:remote-addr*)) 76 76 (progn (hunchentoot:url-decode (hunchentoot:get-parameter "path")) 77 77 (setf (hunchentoot:content-type*) "application/xml") -
TabularUnified trunk/src/rest_interface/rest-interface.lisp ¶
r647 r650 40 40 :*admin-host-name* 41 41 :*admin-port* 42 :*admin-remote-name* 42 :*remote-backup-remote-address* 43 :*local-backup-remote-address* 44 :*shutdown-remote-address* 43 45 :*json-get-prefix* 44 46 :*get-rdf-prefix* … … 84 86 (defvar *admin-host-name* "127.0.0.1") 85 87 (defvar *admin-port* 11008) 86 (defvar *admin-remote-name* "127.0.0.1") 88 (defvar *remote-backup-remote-address* "127.0.0.1") 89 (defvar *local-backup-remote-address* "127.0.0.1") 90 (defvar *shutdown-remote-address* "127.0.0.1") 87 91 88 92
Note: See TracChangeset
for help on using the changeset viewer.