Installing Sharin'Ware

Follow these steps to install and configure Sharin'Ware:

  1. copy the "sharin_ware" directory in the desired HTML path on your server.

  2. copy the "sharin" directory into your cgi directory. Set these variables in "sharin_prefs.pl" :

    • $home - Specify the web address to the sharin_ware directory.

    • $homedir - Specify the filepath to the sharin_ware directory.
    • $password - What's the password to the administrator's area (for deleting files).


  1. Modify the "push@inc" statement in all other scripts to identify the location of the "sharin" directory.

  2. Modify links in the index.html, _admin.html, and add.html files to reflect the location of the appropriate script.

  3. Modify the extensions.txt file to reflect the file extensions you will allow for upload files.

  4. Make sure the location of PERL specified in the first line of each script is accurate for your server.


  1. Set Permissions
    • Scripts in the "sharin" directory must be executable (chmod 755).
    • The "files" directory and all subdirectories therein must allow web full access (chmod 777).

Using the Script

If you use the default data fields, you will be able to search the directory file by name, category, and keywords that appear in the description field.

Customizing HTML templates

The html template is called view.template. Templates are HTML files that are inserted into the results screen for each matching entry. To insert information from your template file, use the following tags:


  • !FIELD1! - Prints to contents of data column 1.

  • !FIELD2! - Prints to contents of data column 2.

  • !FIELD3! - Prints to contents of data column 3.

  • !FIELD4! - Prints to contents of data column 4.

  • !FIELD5! - Prints to contents of data column 5.
  • etc.