Forum Moderators: mack

Message Too Old, No Replies

calling formmail.pl and relative paths

formmail.pl not found

         

dious

4:26 am on Jun 4, 2005 (gmt 0)

10+ Year Member



Hello, my ISP recommended this script. I followed several recommendations on config and created a contact.html. However the browser generates an error msg:
<form action="/cgi-bin/formmail.pl method="post>
The requested URL /cgi-bin/formmail.pl method= was not found on this server.

I have ftp'ed the pl file ascii, tried several paths including
./cgi-bin/formmail.pl
[mysite.net...]
cgi-bin/formmail.pl

Any ideas for this newbie site developer?
tia

Staffa

7:14 pm on Jun 4, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Have you tried without the / before cgi-bin

<form action="cgi-bin/formmail.pl method="post>

and is cgi-bin one directory below the one where your contact form resides?

dious

4:07 am on Jun 5, 2005 (gmt 0)

10+ Year Member



Hi Staffa, thanks for the response. The directory is

www/cgi-bin

so I assume any relative path would work. I supose I can just try every possible variation in the path and if it fails contact the ISP.

Thanks again,
Dious

Staffa

9:02 am on Jun 5, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Oops! I just noticed something that I missed before

<form action="cgi-bin/formmail.pl method="post>

the " is missing after .pl and after post

<form action="cgi-bin/formmail.pl" method="post">

Sorry ;o{