- How do I
use FormMail?
- Why am I
getting the "Server: Error 500" message?
- What is
the path to PERL?
- What is
the path to Sendmail?
1. How do
I use FormMail?
OK formMail-clone is clone of Matt Wright's
FormMail.cgi under a less restrictive liscense. It should
behave almost exactly as FormMail.cgi, but it is completely
written from scratch so there might be a few minor visual
diffrences.
The FormMail CGI script is already configured on our server
for your account. From your control panel click CGI Center
and there you will find the location of FormMail. An example
of the correct permission to use for setting up the 'action'
of your form is:
http://Business Hosting Plus/cgi-sys/FormMail.cgi
(if your domain ends with .net, .org, or .other then substitute
the correct extension when setting up your form 'action').
The 'method' to select
for your form is POST.
2. Why am
I getting the "Server: Error 500" message?
500
errors are typically something wrong in the syntax of
your script. Most often times you should check to make
sure you have the path to PERL correct. Currently we are
running Perl5 on our servers. The correct path to PERL
is: #!/usr/bin/perl
Here are the correct paths to the common server resources
that CGI scripts often require:
Date:
/bin/date
Sendmail: /usr/sbin/sendmail
Perl5:
#!/usr/bin/perl
Root path: /home/username/
(puts you in the root of your account)
Domain
directory: /home/username/public_html
(puts you in your public_html directory)
Cgi-bin
path: /home/username/public_html/cgi-bin/filename
(puts you in your cgi-bin)
3. How do
I use CuteFTP to upload files?
This can be found
on our support Doc on FTP
4. What is
the path to SendMail?
The
correct path to Sendmail is: /usr/sbin/sendmail