Configuring NMS formmail on local web Server

By rseni ·
I am newbie to web-designing and trying to to configure NMS formmail
step-by-step as shown on on
a local XAMPP installation.

PATH TO CGI-BIN: E:\E:\xampp\cgi-bin
Path to Perl: E:\xampp\perl\bin\perl.exe
Path to SendMail : E:\xampp\sendmail\sendmail.exe
PATH to feedback form:


<title> Form Function Test</title>

<p>This is a simple form</p>
<form action="E:\xampp\cgi-bin\" method="POST">
<p>First Name <input type="text" name="fname" /></p>
<p>Last Name <input type="text" name="lname" /></p>
<p>E-Mail <input type="text" name="email" />
<p>Pls Enter Your Comments:

<textarea name="comm" rows="10" cols="30"></textarea>

<input type="submit" value="Submit Feedback" />

When i hit submit Firefox gives me an error "Firefox does not know how
to open this address because the protocol isn't associated with any

When i run the localhost\cgi-bin\ in Google Chrome it provides the following
Error: GET request
The HTML form fails to specify the POST method, so it would not be
correct for this script to take any action in response to your

If you are attempting to configure this form to run with FormMail, you
need to set the request method to POST in the opening form tag, like
this: <form action="/cgi-bin/" method="post">

FormMail ? 2001-2003 London Perl Mongers

Pls help me resolve this error.

Thanks for your kind suggestion and time.

This conversation is currently closed to new comments.

Thread display: Collapse - | Expand +

All Answers

Collapse -


by Jaqui In reply to Configuring NMS formmail ...


<form action="E:\xampp\cgi-bin\" method="POST">


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

edit to add:

apache needs the path to be relative, not absolute. and the cgi-bin MUST be within the docroot. so apache's httpd.conf would need to be E:\xampp

Related Discussions

Related Forums