Hi, I have written some CGI scripts using PERL. they are working. But now I want to create a HTML form. I have got a code. I saved it as login.html in my APACHI's cgi-bin directory. But when i am trying to load HTML page using  http://localhost/cgi-bin/ it is not working. I am getting following message
Internal Server Error The server encountered an internal error or misconfiguration and was u +nable to complete your request. Please contact the server administrator, admin@localhost and inform th +em of the time the error occurred, and anything you might have done t +hat may have caused the error. More information about this error may be available in the server error + log.
My HTML code is:
<!doctype html> <HTML> <HEAD> <TITLE> Login Page </TITLE> </Head> <BODY> <Form method="post" action="login.pl"> <TABLE BORDER ="0"> <TR> <TD> User Name</TD> <TD><input type="text" name="username" value=""></TD> </TR> <TR> <TD>Password </TD> <TD><input type="text" name="password" value=""></TD> </TR> <TR><TD COLSPAN="2" ALIGN="RIGHT"> <input type="submit" name="submit" value="login"> </TD></TR></TABLE> +</FORM><BODY></HTML>
Somebody plz guide me. Zulfi.

In reply to HTML Form not workin by zak100

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.