hi ,
moving to a new web host who has mod_perl.
As you can guess I have little idea about mod_perl although I was just starting to get the hang of perl and cgi.
My script worked fine on the old server although on the new it returns error 500 premature end script headers
I ran the file from the command line in putty (perl filename.pl) and it outputs as expected.
checked syntax (perl -c filename.pl) syntax ok. Have also saved the files in unix format(for the correct line endings) and uploaded to server using ascii.
What changes do I need to make for this file to execute.
(its a fairly simple prog that recieves data from a html form,emails me those details and responds to the user with a confirmation page) I shall attatch the file.
mod_perl gurus your help is greatly appreciated.
regards
rex
moving to a new web host who has mod_perl.
As you can guess I have little idea about mod_perl although I was just starting to get the hang of perl and cgi.
My script worked fine on the old server although on the new it returns error 500 premature end script headers
I ran the file from the command line in putty (perl filename.pl) and it outputs as expected.
checked syntax (perl -c filename.pl) syntax ok. Have also saved the files in unix format(for the correct line endings) and uploaded to server using ascii.
What changes do I need to make for this file to execute.
(its a fairly simple prog that recieves data from a html form,emails me those details and responds to the user with a confirmation page) I shall attatch the file.
mod_perl gurus your help is greatly appreciated.
regards
rex