Procedure
Windows
Edit the environment Interstage HTTP Server environment definition file.
Use the editor to open the Interstage HTTP Server environment definition file.
Edit the environment definition file stored at the following location.
Interstage Application Server V8.x or earlier
C:\Interstage\F3FMihs\conf\httpd.conf |
Note: When the default installation path is used
Application Server V9.x or later
C:\Interstage\F3FMihs\servers\FJapache\conf\httpd.conf |
Note: When the default installation path is used
Setting up a Virtual Directory
Delete the "#" from the start of the following line to enable CGI.
LoadModule cgi_module "C:/Interstage/F3FMihs/modules/mod_cgi.so" |
Add the following lines to the end of the file:
ScriptAlias/SQC/cgi-bin/ "Installation directory/www/cgi-bin/" <Directory "Installation directory/www/cgi-bin"> Options ExecCGI AllowOverride None Order allow,deny Allow from all </Directory> Alias /SQC/ "Installation directory/www/" <Directory "Installation directory/www"> Options None AllowOverride None Order allow,deny Allow from all </Directory> |
Delete the "#" from the start of the following line to enable CGI.
LoadModule cgi_module "C:/Interstage/F3FMihs/modules/mod_cgi.so" |
Add following definition as MIME setting.
AddType application/vnd.openxmlformats-officedocument.spreadsheetml.sheet .xlsx AddType application/vnd.ms-excel.sheet.macroEnabled.12 .xlsm |
Add the following lines to the end of the file.
Alias /SSQC/cgi-bin/js/ "<Installation directory>/www/cgi-bin/js/" <Directory "<Installation directory>/www/cgi-bin/js"> Options None AllowOverride None Order allow,deny Allow from all </Directory> Alias /SSQC/cgi-bin/image/ "<Installation directory>/www/cgi-bin/image/" <Directory "<Installation directory>/www/cgi-bin/image"> Options None AllowOverride None Order allow,deny Allow from all </Directory> Alias /SSQC/cgi-bin/style/ "<Installation directory>/www/cgi-bin/style/" <Directory "<Installation directory>/www/cgi-bin/style"> Options None AllowOverride None Order allow,deny Allow from all </Directory> ScriptAlias /SSQC/cgi-bin/ "<Installation directory>/www/cgi-bin/" <Directory "<Installation directory>/www/cgi-bin"> Options ExecCGI AllowOverride None Order allow,deny Allow from all </Directory> Alias /SSQC/ "<Installation directory>/www/" <Directory "<Installation directory>/www"> Options None AllowOverride None Order allow,deny Allow from all </Directory> |
Note
Change the settings for access privileges and so on if necessary.
Save the settings
Overwrite the previous file and close the editor. Restart Interstage HTTP Server if it is running.
UNIX
Edit the Interstage HTTP Server environment definition file
Use the editor to open the Interstage HTTP Server environment definition file.
Edit the environment definition file stored at the following location.
Interstage Application Server V8.x or earlier
/etc/opt/FJSVihs/conf/httpd.conf |
Note: When the default installation path is used
Interstage Application Server V9.x or lator
/var/opt/FJSVihs/servers/FJapache/conf/httpd.conf |
Note: When the default installation path is used
Set the virtual directory
Delete the "#" from the start of the following line to enable CGI.
LoadModule cgi_module "/opt/FJSVihs/modules/mod_cgi.so" |
Add the following lines to the end of the file:
ScriptAlias /Alias/cgi-bin/ "installation directory/www/cgi-bin/" <Directory "installation directory/www/cgi-bin"> Options ExecCGI AllowOverride None Order allow,deny Allow from all </Directory> Alias /Alias/ "installation directory/www/" <Directory "installation directory/www"> Options None AllowOverride None Order allow,deny Allow from all </Directory> |
Note
Change the settings for access privileges and so on if necessary.
Save the settings
Overwrite the previous file and close the editor. Restart Interstage HTTP Server if it is running.