Thanks for your response. I have updated my code based on your advice but its still not working. My code is now:
<TITLE> Login Page </TITLE>
<FORM method="post" action="login.pl">
<TABLE BORDER ="0">
<TD> User Name</TD>
<TD><input type="text" name="username" value=""></TD>
<TD><input type="text" name="password" value=""></TD>
<TR><TD COLSPAN="2" ALIGN="RIGHT">
<input type="submit" name="submit" value="login"> </TD></TR></TABLE>
I have now stored it (login.html) in htdocs folder of Apache server where index.html resides. If i try:
It works. But if i try:
I am getting following error:
The requested URL /login.html was not found on this server.
Its not working. Plz guide me.