V7122 Gateway User Guide 473persistent connection – required for multiple consecutive HTTP PUT requests foruploading the file).7 Open the Apache2/conf/perl.conf file for editing and add the line “Script PUT/perl/put.cgi” after the last line in the following section (note that if the following section isomitted or different in the file, insert it into the file or change it there accordingly):Alias /perl/ "C:/Apache2/perl/ /perl>SetHandler perl-scriptPerlResponseHandler ModPerl::RegistryOptions +ExecCGIPerlOptions +ParseHeaders8 Locate the file put.cgi on the supplied software package and copy it into the Apach2\perl\directory. Change the first line in this file from c:/perl/bin/perl to your perl executable file(this step is required only if mod_perl is not included in your Apache installation).9 In the apach2\bin directory, from a DOS prompt, type the following commands: Apache.exe -n Apache2 -k install Apache.exe -n Apache2 -k startThe installation and configuration are finished. You are now ready to start using the HTTPserver.Linux Operation SystemsIt is assumed that the installing of Linux already includes: Apache server (forexample, Apache 1.3.23), perl and mod_perl (for example mod_perl 1.26).To configure Apache HTTP server:Additional required software: an uploading script (put.cgi), supplied with the softwarepackage.1 Inside the Apache directory, create the directory /perl (for example /var/www/perl).Locate the file put.cgi on the supplied software package and copy it to that directory.2 In the put.cgi script, change the first line from c:/perl/bin/perl to your perl executable file(this step is required only if mod_perl is not included in your Apache installation).3 Enable access to the following directories and files by typing: >chmod 777 perl >chmod 755 put.cgi >chmod 777 html (the name of the server’s shared files directory)