Perl CGI programs should end with .cgi or .pl and the first line should read:

#!/usr/bin/perl -T

They should be uploaded to the /cgi-bin directory of your virtual server. Note that this is NOT the same as /html/cgi-bin.

There is a separate directory for scripts. Issue these FTP commands upon logging in:

cd /cgi-bin asc

This will put you in the script directory and turn on ASCII file transfers.
Binary file transfers will not work.


To avoid problems with PDF files on websites make sure your version of Acrobat is current.

Problems can occur due to incompatibilities raised by using a very old version of the Acrobat Distiller and/or Print driver.

You can update or get a new version of Acrobat at

The mime type “application/pdf” is correctly set in our main Apache webserver for the extension “.pdf”.
Please remember that UNIX servers are case-sensitive, so you may have to make sure your file ends in a .pdf as opposed to a .PDF (though we believe that the mime module of Apache is smart enough to know this).

If you need specific mime type support for your virtual server, please email new requests to

You might also experiment with some of the numerous options when creating your PDF files.
For example, try PDF text files vs. Binary files – remember to upload ASCII PDF files via the ASCII option of your FTP client, and Binary PDF files via the Binary option.

If you desire cross-platform compatibility we recommend ASCII, with ALL fonts embedded. This makes a larger file but with broader reach.

Please see for a many helpful tips about distributing your Adobe Acrobat files on the Internet.

Share →