The following are details you will need to know
if you are installing scripts on the server.
It is important to note that these items do not apply
to all scripts and it is important to consult the README or
INSTALL files with your script to determine exactly what they
are looking for.
At the top of your PERL scripts
you should have:
#!/usr/bin/perl
Our path to sendmail is:
/usr/sbin/sendmail -t -i
Please note the following paths
below. Please make sure you replace user with whatever
your username is and also YourDomain with your domain name.
/home/user/www.YourDomain.com/htdocs - This is your web files
/home/user/www.YourDomain.com/cgi-bin - This is the path to your cgi directory
and this is also where all cgi programs should be stored. When you are trying to access your cgi-bin
from a browser, you can access it by going: http://www.yourdomain.com/cgi-bin/filename.cgi
Also, if you call a cgi program
from within a html file, then use:
http://www.yourdomain.com/cgi-bin/filename.cgi
Your cgi programs can end in .cgi
OR .pl
The following is ONLY EXAMPLES
AND MAY NOT APPLY to your script.
We are showing you this ONLY as an example, however you
should read your install manual in detail to determine what
your values should be.
The following would be am example
for the domain controlpanelsupport.com in a given script.
Base directory:
The script said:
$basedir=’/home/directory/www.yourdomain.com/htdocs’
so we replaced that line with:
$basedir=’/home/contro/www.controlpanelsupport.com/htdocs’
SERVER SIDE INCLUDES