Here is a file web1.html
Here is the file temp.pl
Now the problem is when i click the submit button on www.abhinav.frih.net/erp/web1.html
i get an error
Now when i go to the direct admin panel and check for the error log i get an error
I have done chmod 777 do temp.pl
Can anyone help.
Abhinav
| Code: |
|
<html> <body bgcolor=#ffffff> <h1><p align="center">ERP TEST SYSTEM</p></h1> <hr /> <form action="http://abhinav.frih.net/cgi-bin/temp.pl" method="post"> <table align="center"> <tr><td><b>E-mail</b></td><td><input type="text" name="email"/></td></tr> <tr><td><b>ERP tar file name</b></td><td><input type="text" name="erp" /></td></tr> </table> <p align="center"><input type="submit" value="Submit"/> <input type="reset" value="Reset" /></p> </form> </body> </html> |
Here is the file temp.pl
| Code: |
|
#!/usr/bin/perl use CGI; print "content-type: text/html \n\n"; $q = new CGI; $email = $q->param('email'); $path = $q->param('erp'); print "<html>"; print $email; print "</html>"; |
Now the problem is when i click the submit button on www.abhinav.frih.net/erp/web1.html
i get an error
| Code: |
|
Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, webmaster@abhinav.frih.net and inform them of the time the error occurred, and anything you might have done that may have caused the error. More information about this error may be available in the server error log. Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request. |
Now when i go to the direct admin panel and check for the error log i get an error
| Code: |
| No error document |
I have done chmod 777 do temp.pl
Can anyone help.
Abhinav
