Name

http_lock — Locks the HTTP Web Server port

Synopsis

any http_lock ( in pwd varchar );
 

Description

This function takes as parameter the password of the dba user, locks the HTTP Web Server port and on any http access attempt shows the content of the html file given as value for the MaintenancePage parameter in the Virtuoso ini [HTTPServer] section:

-- Virtuoso ini
...
[HTTPServer]
...
MaintenancePage = atomic.html
..

Note: the html file should be placed in the HTTP root.

Parameters

pwd

The password of the dba user.

Examples

Example 24.152. Simple Use

SQL> http_lock('password');

Done. -- 0 msec.
SQL>

See Also

http_unlock()