The comments CGI script is a simple, configurable form that allows visitors to your Web site to send comments or feedback to a specified user.


As the root user, copy the comments directory from the /usr/local/share/contrib/ directory on your VPS v2 to the appropriate cgi-bin for the domain that will be using the script. Make sure to change the file ownership to the correct user.

Add the Email addresses of acceptable recipients to the @recipients_ok field of the script using your favorite text editor.

You will then need to create the HTML form that uses the script. An example form can be found at comments.html. You will need to modify the form to use a recipient name you listed as ok in the script.

You can customize the output pages generated by the script by modifying the print_header_info and print_footer_info subroutines in the script.

Please note: the information on this page applies to ITS web hosting plans. It may or may not apply to other environments. If you are looking for a feature described here, or better support from your hosting provider, please consider hosting your site with ITS!

1555 N Naperville/Wheaton Road, Suite 107
Naperville, IL 60563
phone 630.420.2550
fax 630.420.2771