>> 
>> I am trying to get a web site with some Perl/CGI working on 
>> my RH 8.0/Apache server and need a little help.  I am doing 
>> the development on my windows machine and then moving the 
>> site over to the linux box for obvious reasons.  Apache is 
>> also running on my windows machine for test purposes.  
>> Everything seems to be working fine one the windows machine.  
>> However, I must have something set wrong in the linux box 
>> httpd.conf file because as soon as I move it to the server 
>> and hit the submit button it gives me an Internal Server 
>> Error.  I simplified the Perl code so that it does nothing 
>> but print out html back to the screen to make sure that it 
>> wasn't caused by problems with Perl modules.  I verified that 
>> the perl files were set as executable.  I am a newbie to 
>> running anything complicated with Linux and apache and assume 
>> that I am missing something in the httpd.conf file.  Any 
>> advice or ideas would be greatly appreciated.
>> 
>> Will P.
>> 

>your answers lie in your log files.  apache keeps a bunch of logs,
among which 
>should be a file called something like "error_log" located in 
>/var/logs/apache or /var/logs/httpd (something like that... sorry)
take a 
>look at the tail end of that file right after you run your script and
you 
>should see what's broken. 

I check the log file above and I get a message from the error log
saying...

Premature end of script headers:

I have changed the permissions to 777 to make sure that wasn't a
problem.  Any other ideas on what it could be.  I am completely out of
ideas to try now.

Thanks,
Will P.



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to