How to set up your paths for all your pl and cgi scripts on your virtual server ( paths listed below are for those with the plesk control panel)

This code works for my scripts on my EV1Servers.net virtual servers Start your script with: FTP your scripts into your cgi-bin directory.

For an example lets say that the name of our script is myworkingscript.pl
This would be at the top of your script:

#!/usr/bin/perl

Note: Your directory to your cgi-bin will look something like this:

$uploadsURL='/home/httpd/vhosts/yourdomainname.com/cgi-bin/';

or it might look like

$uploadsURL='/home/httpd/vhosts/yourdomainname.com/cgi-bin/uploads';

You will need to replace the yourdomainname.com with your actual web site name.

Make sure you CHMOD your PL or CGI scripts to 755
Any upload directories that info is to be posted to will need to be CHMOD to 777

you can view the script working at
http://BookOurShow.com click on view database


==========
Have a great day.
Dr Honea
www.BeyondYourImagination.com