| | |
Need help with configuring premade perl form script
![]() |
•
•
Join Date: Oct 2007
Posts: 37
Reputation:
Solved Threads: 0
Hi,
I wan't to add simple web form to my page. name, e-mail, comment, so I started poking around internet and found out about CGI. I put premade cgi.(pearl) script in cgi-bin folder on server and adjusted form for that script:
When I tested out my form , i got this error: Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, [no address given] 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. Apache/2.2.8 (Ubuntu) DAV/2 SVN/1.4.6 PHP/5.2.4-2ubuntu5.7 with Suhosin-Patch mod_ruby/1.2.6 Ruby/1.8.6(2007-09-24) mod_ssl/2.2.8 OpenSSL/0.9.8g Server at rags.lv Port 80
I suppose there is something wrong with pearl file config. and since I'm not very competent outside html/css I need some help.
I'm using this scripit : FormMail
any help mucho macho appreciated :p
I wan't to add simple web form to my page. name, e-mail, comment, so I started poking around internet and found out about CGI. I put premade cgi.(pearl) script in cgi-bin folder on server and adjusted form for that script:
When I tested out my form , i got this error: Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, [no address given] 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. Apache/2.2.8 (Ubuntu) DAV/2 SVN/1.4.6 PHP/5.2.4-2ubuntu5.7 with Suhosin-Patch mod_ruby/1.2.6 Ruby/1.8.6(2007-09-24) mod_ssl/2.2.8 OpenSSL/0.9.8g Server at rags.lv Port 80
I suppose there is something wrong with pearl file config. and since I'm not very competent outside html/css I need some help.
I'm using this scripit : FormMail
any help mucho macho appreciated :p
Last edited by wonderland; 22 Days Ago at 1:19 pm.
•
•
Join Date: Jul 2009
Posts: 15
Reputation:
Solved Threads: 0
0
#2 14 Days Ago
Is the very first line (#!/usr/bin/perl) pointing to the correct folder where perl is stored on the server?
in the first couple of lines of the script there should be a line like
if not add it
in the first couple of lines of the script there should be a line like
Perl Syntax (Toggle Plain Text)
print "content-type: text/html\n\n";
if not add it
![]() |
Similar Threads
- Basic Perl Web Upload Script (Perl)
- running multiple instances of a same perl-cgi script (Perl)
- Perl HTML form script 0 HELP! (Perl)
- New to Perl, please explain the script (Perl)
- Please help with email form script (PHP)
- form validation not working (JavaScript / DHTML / AJAX)
- Want script to make an email form (HTML and CSS)
- Safe Perl (Perl)
Other Threads in the Perl Forum
- Previous Thread: How to chomp and split properly a file
- Next Thread: Replace a string in perl
| Thread Tools | Search this Thread |





