Installing DF™ Perl Informer

1. Preparing to install the script.

To install, you must have a script distribution (perlinfo.cgi) and access to ftp. Perl must also be installed on the server (most servers have it installed). The domain where the script will be installed must be accessible via the web. You can download the script distribution here.


2. Upload the distribution to the server and assigning the rights to execute the script.

Use ftp to upload the perlinfo.cgi file to the cgi-bin folder. When you upload the script to other directories that are not in cgi-bin, the script may not work. You must upload the script in text mode. Assign the rights are 755 (rwx r-x r-x) on perlinfo.cgi.


3. Running the script.

Run the script - type in the browser address of the type http://your_domain.com/cgi-bin/perlinfo.cgi (substitute your domain and change the path if you did not upload the script to cgi-bin).
You should see the interface script if you see it, then proceed to configure the script.

If the launch failed, there may be the following reasons:

  • Incorrect permissions on the perlinfo.cgi file. You need to check the permissions, they must be 755 (rwx r-x r-x).
  • CGI scripts are uploaded to a directory where CGI applications are not allowed to run or their launch is prohibited on the server.
    Try allowing scripts to run in this directory. Create or edit an existing .htaccess file in the directory with the script. Add the line: "AddHandler cgi-script .cgi" (without quotes) to the file. If this does not help, contact the hosting support.
  • Incorrect path to the Perl interpreter. Replace the first line in the perlinfo.cgi script from "#!/usr/bin/perl" with "#!/usr/local/bin/perl" and run again.
  • The script was not uploaded in text mode. Reload the distribution in text mode.

  • 4. Setting up the script.
    4.1 Setting a password.

    You can use access to the script without authorization, but some of the functionality will not be available for security reasons. To set and change the password, use the "protect" link (http://your-site.com/cgi-bin/perlinfo.cgi?f=prot) in the top right corner of the screen.
    If you forgot your password, delete the pipwd.pwd file in the script directory and assign a new password.


    4.2 Enabling protected functions (web-shell, htpassword generator).

    For security reasons, after installing the script, some of the functions: web-shell and password generator remain blocked. You cannot enable these functions from the web-interfaces of the script, for this you need to have access to the ftp site! This is done so that you can show the server settings without giving access to dangerous functions.
    To enable the protected functions of the script, you must assign a password and create a "text.css" file in the directory with the perlinfo.cgi file. Accordingly, to disable functions later, you must delete the file "piext.acs".