|
Posted by Riptide on April 21, 2005, 7:19 am
Please log in for more thread options
I just uploaded a form on a VPS server I have from Interland. I
downloaded and installed FormMail on the server in the cgi-bin
directory, made my changes to the form and then made my changes to the
html form. Yet, I still get a server error. Being new at this,I'm
almost sure my path is not correct, but don't know what to do to
correct it. Could someone PLEEEEESE give me some direction?
I used "Fetch" for the Mac to upload the FormMail.pl into my cgi-bin.
Here's what my path looks like:
File Path: ftp://usr122057130:@sumnergroup.com/%2fusr/local/www/vhosts/
dbcfoundation.org/cgi-bin/FormMail.pl
Here is the info I entered on the FormMail form:
$mailprog = '/usr/sbin/sendmail -i -t -f
rbyrum@sumnergroup.com';
@referers = ('dbcfoundation.org','216.122.57.130');
Here is the info I entered on the html form:
<form action="http://dbcfoundation.org/cgi-bin/FormMail.pl" show/hide quoted text
method="POST" name="intentlttr" id="intentlttr">
<input type=hidden name="subject" value="Letter of Intent">
Okay - let me have it - WHAT DID I DO WRONG???
|
|
Posted by saz on April 21, 2005, 9:47 am
Please log in for more thread options
reggie@nauticacommunications.com says...
show/hide quoted text
> I just uploaded a form on a VPS server I have from Interland. I
> downloaded and installed FormMail on the server in the cgi-bin
> directory, made my changes to the form and then made my changes to the
> html form. Yet, I still get a server error. Being new at this,I'm
> almost sure my path is not correct, but don't know what to do to
> correct it. Could someone PLEEEEESE give me some direction?
>
> I used "Fetch" for the Mac to upload the FormMail.pl into my cgi-bin.
> Here's what my path looks like:
>
> File Path: ftp://usr122057130:@sumnergroup.com/%2fusr/local/www/vhosts/
> dbcfoundation.org/cgi-bin/FormMail.pl
>
> Here is the info I entered on the FormMail form:
>
> $mailprog = '/usr/sbin/sendmail -i -t -f
> rbyrum@sumnergroup.com';
>
> @referers = ('dbcfoundation.org','216.122.57.130');
>
> Here is the info I entered on the html form:
>
> <form action="http://dbcfoundation.org/cgi-bin/FormMail.pl"
>
> Okay - let me have it - WHAT DID I DO WRONG???
>
>
Check that it's in the cgi-bin, check the name of the .pl file that if
you use caps for the F and M, the file is called the same, make sure you
set formmail.pl permissions to 755, and as a last resort rename the file
to .cgi to see if that helps.
|
|
Posted by GreyWyvern on April 21, 2005, 10:47 am
Please log in for more thread options
And lo, Riptide didst speak in alt.www.webmaster:
show/hide quoted text
> I downloaded and installed FormMail
> [snip]
> [snip]
> Okay - let me have it - WHAT DID I DO WRONG???
See two obvious items above (with your email address kindly altered).
Hint: don't use FormMail, use something else:
show/hide quoted text
<http://hotscripts.com/CGI_and_Perl/Scripts_and_Programs/Form_Processors/index.html>
Form-to-email is one of the easiest server-side programming projects to
do; most people taking a programming course end up making one as part of
the curriculum. Use one that hardly anyone else uses. That way you're
not likely to become a target of crackers taking advantage of widely-used
scripts with security holes.
Grey
--
The technical axiom that nothing is impossible sinisterly implies the
pitfall corollory that nothing is ridiculous.
- http://www.greywyvern.com/ringmaker - Orca Ringmaker: Host a web ring
from your website!
|
|
Posted by William Tasso on April 21, 2005, 3:41 pm
Please log in for more thread options
On Thu, 21 Apr 2005 14:19:36 +0100, Riptide
show/hide quoted text
> ...
> Okay - let me have it - WHAT DID I DO WRONG???
That is a very poor form mail script. Lose it immediately and start again
with one that doesn't reveal how to hijack itself.
--
Whatever you do - do something.
|
| Similar Threads | Posted | | NMS Formmail question | January 26, 2005, 3:12 pm |
| webmail/formmail | April 17, 2005, 3:34 am |
| ASP or PHP FormMail Script | May 25, 2005, 11:17 am |
| Problem with FormMail | September 18, 2005, 6:17 am |
| PHP Formmail issues | April 30, 2009, 8:50 am |
| 403 errors with FormMail.pl on 1and1 | October 7, 2005, 3:17 pm |
| Reality Check on Formmail Security | March 16, 2010, 4:09 pm |
| FormMail "Submit Query" Button edit | January 19, 2005, 1:32 pm |
| relatively simple/secure formmail script recommendation? | September 10, 2007, 8:19 pm |
| Formmail, recaptcha, and custom error page | March 12, 2010, 6:03 pm |
|
<input type=hidden name="subject" value="Letter of Intent">