This section describes the differences between Sysquake Remote for Windows and Sysquake Remote for Posix operating systems. Please refer to Sysquake Remote Installation for the description of all options.
Remark: Sysquake Remote for Windows is provided on request as a convenience to licensees. It is not officially supported.
LoadModule sqr_module modules/mod_sqr.so
AddModule mod_sqr.c
<IfModule mod_sqr.c> AddType application/x-sysquake-remote .sqr </IfModule>
SQRRegistration webserver-hostname registration-key
or
SQRRegistration webserver-hostname registration-key name
If you have not received the registration key, you can skip this step now. Each .sqr page is displayed with a message which says that Sysquake Remote is not registered and the host name of the server. Please specify this host name, exactly as it is displayed, when you order your registration key.
SQRLibraryPath C:\LME\lib
This section describes the configuration directives which can be added to the files httpd.conf (main configuration file, usually in C:\Program Files\Apache Group\Apache\conf) and .htaccess (in directories), and whose default values differ from other versions of Sysquake Remote. All options are described in Section Sysquake Remote Installation.
Here is a possibility for such options. Note that only the SQRRegistration line is required, and that default options are secure by default; you should read carefully the documentation below before changing the options on a server on the Internet or in an insecure environment.
SQRRegistration www.company.com 6e8a.a81f.1924.200406.a SQRStartup useifexists stdlib, sqr; SQRLibraryPath C:\LME\lib SQRLocalLibraries on SQROutputLimit 10000 SQRTimeout 1000 SQREnableStderr on SQREnableAns on
Syntax: SQRCleanImagesCmd command
Context: server config
Override: n/a
This directive changes the command run periodically to clear the image files. The default value is a command which deletes all image files:
C:; cd C:/tmp/sqr; del *.*
Syntax: SQRImagePath path
Context: server config
Override: n/a
This directive sets the path where image files are stored on the server. The default is C:/tmp/sqr. If the bottom-most directory does not exist, it is created.
Most functions work exactly the same way in all versions of Sysquake Remote. This section describes the differences.
HTTP variable.
str = http(name)
HTTP variable REMOTE_PORT is not supported.
CPU time in seconds.
Not supported. You can use tic, toc, and clock instead.
Execute an external command.
status = dos(str)
dos(str) executes a command with the Windows command interpreter. No input can be provided, and output is discarded. dos returns the value that is returned by the command interpreter; 0 means that there is no error (or that no error is reported).
dos('del *.bak');
Execute Unix command.
Not supported. You can use dos instead.