Procedure
Windows
Edit the configuration file
Open the configuration file from the Start menu as follows:
Start
-> Programs
-> [Apache HTTP Server]
-> [Configure Apache Server]
-> [Edit the Apache httpd.conf Configuration File]
If the environment differs from the above, open the configuration file "httpd.conf" in an editor directly.
Set the virtual directory
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
If necessary, change the access permission settings, etc., to more appropriate values.
Virtual directory settings vary according to the version of Apache that is used.Refer to the Apache manual for details.
Save the settings
Overwrite the previous file and close the editor. Restart Apache HTTP Server if it is running.
UNIX
Edit the configuration file
Open the configuration file in the editor.
Set the virtual directory
Set up the virtual directory.
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
If necessary, change the access permission settings, etc., to more appropriate values.
Virtual directory settings vary according to the version of Apache that is used.Refer to the Apache manual for details.
Since character transformation may be caused in the state of the early stages of Apache2.0, please set it as the following state if needed.
AddDefaultCharset Off
Save the settings
Overwrite the previous file and close the editor. Restart Apache HTTP Server if it is running.