oven
11-02-2003, 03:38 AM
Who is good in this ?
Matt's FormMail file configured well, I even downloaded a new, second, Formmail script to be sure it's not corrupted. Opened it from it's original folder right to Dreamweaver. Transformed using WS_FTP in ASCII mode into my server's 'www' folder's cgi-bin folder and CHMODed Formail.pl to 755. When I submit the test form below mentioned error appears while in the address bar shows http://www.mydomain.com/cgi-bin/FormMail.pl
I tried changing the file name to MailForm.pl or used .cgi extention and always the same. Form is configured well too. This is bizarre.
Configurations:
#!/usr/bin/perl
$mailprog = '/usr/sbin/sendmail -i -t';
@referers = ('mydomain.com','IP_number');
@recipients = &fill_recipients(@referers);
or I tried:
@recipients = ('^usermame@mydomain.com');
My absolute path for FormMail.pl is:
"/home/username/www/cgi-bin";
FormMail.pl is in:
......com/cgi-bin/FormMail.pl
form is in:
......com/poll/polla.html
From ERROR log:
File does not exist: /home/username/public_html/500.shtml
Premature end of script headers: /home/username/public_html/cgi-bin/FormMail.pl
THIS APPEARS ON THE screen AFTER SUBMIT:
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, webmaster@mydomainname.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
If I delete any file-s from the 'public_html' folder they automaticaly disappear from the 'www' folder too. They are related in some sence. If file does not exist(?), all of my site files must be uploaded into the www folder where among others also the cgi-bin is, why is the error log reading it as in public_html folder ?
What do you recon ?
Best regards !!!
:confused:
Matt's FormMail file configured well, I even downloaded a new, second, Formmail script to be sure it's not corrupted. Opened it from it's original folder right to Dreamweaver. Transformed using WS_FTP in ASCII mode into my server's 'www' folder's cgi-bin folder and CHMODed Formail.pl to 755. When I submit the test form below mentioned error appears while in the address bar shows http://www.mydomain.com/cgi-bin/FormMail.pl
I tried changing the file name to MailForm.pl or used .cgi extention and always the same. Form is configured well too. This is bizarre.
Configurations:
#!/usr/bin/perl
$mailprog = '/usr/sbin/sendmail -i -t';
@referers = ('mydomain.com','IP_number');
@recipients = &fill_recipients(@referers);
or I tried:
@recipients = ('^usermame@mydomain.com');
My absolute path for FormMail.pl is:
"/home/username/www/cgi-bin";
FormMail.pl is in:
......com/cgi-bin/FormMail.pl
form is in:
......com/poll/polla.html
From ERROR log:
File does not exist: /home/username/public_html/500.shtml
Premature end of script headers: /home/username/public_html/cgi-bin/FormMail.pl
THIS APPEARS ON THE screen AFTER SUBMIT:
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, webmaster@mydomainname.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
If I delete any file-s from the 'public_html' folder they automaticaly disappear from the 'www' folder too. They are related in some sence. If file does not exist(?), all of my site files must be uploaded into the www folder where among others also the cgi-bin is, why is the error log reading it as in public_html folder ?
What do you recon ?
Best regards !!!
:confused: