[Windows]
Open the configuration file.
For example, in the standard Apache installation.
[Start]
-> [Programs]
-> [Apache HTTP Server]
-> [Configure Apache Server]
-> [Edit the Apache httpd.conf Configuration File]
Note
If your environment is different from the above, change it so that it matches.
Set a virtual directory.
Add the following lines to the end of the file:
# Systemwalker Service Quality Coordinator Agent
ScriptAlias /SQC/cgi-bin/ "C:/Program Files/SystemwalkerSQC/www/cgi-bin/"
<Directory "C:/Program Files/SystemwalkerSQC/www/cgi-bin">
Options ExecCGI
AllowOverride None
Order allow,deny
Allow from all
</Directory>
Alias /SQC/ "C:/Program Files/SystemwalkerSQC/www/"
<Directory "C:/Program Files/SystemwalkerSQC/www">
Options None
AllowOverride None
Order allow,deny
Allow from all
</Directory>
Note
The above has three references to C:/Program Files/SystemwalkerSQC. This is the default installation directory for this product.
If your installation directory is different, change the references to match your installation directory. Also, change such settings as the access rights, as required.
See
Setup of virtual directory depends on versions of Apache. For details, please refer to the manual of Apache.
Make settings so that a file with the extension cgi is started as a CGI program.
If the following line in the file is marked as a comment, remove the comment mark.
AddHandler cgi-script .cgi
Apply the new settings.
Close the editor after updating the entries. If Apache HTTP Server is active, stop the server and then restart it.
[UNIX]
Open the configuration file using a text editor.
Set a virtual directory.
Add the following lines to the end of the file:
# Systemwalker Service Quality Coordinator
ScriptAlias /SQC/cgi-bin/ "/opt/FJSVssqc/www/cgi-bin/"
<Directory "/opt/FJSVssqc/www/cgi-bin">
Options ExecCGI
AllowOverride None
Order allow,deny
Allow from all
</Directory>
Alias /SQC/ "/opt/FJSVssqc/www/"
<Directory "/opt/FJSVssqc/www">
Options None
AllowOverride None
Order allow,deny
Allow from all
</Directory>
Note
Change such settings as the access rights as required.
See
Virtual directory settings depend on the Apache version. Refer to the Apache manuals for details.
Make settings so that a file with the extension cgi is started as a CGI program.
If the following line in the file is marked as a comment, remove the comment mark.
AddHandler cgi-script .cgi
Apply the new settings.
Close the editor after updating the entries. If Apache HTTP Server is active, stop the server and then restart it.