Re: [Hampshire] Apache config & cgi-bin

Top Page

Reply to this message
Author: Vic
Date:  
To: hampshire
Subject: Re: [Hampshire] Apache config & cgi-bin
> Symptoms are "Premature end of script headers" in the error log.

This implies that the file is being interpreted as a script to be run - so
you can stop looking at your Apache config.

Your problem is that the script is not returning a vaild hmtl page; this
almost always means that the script had failed.

Can you run it from the shell? Does it do what you expect?

If the script nominally runs, check any environment differences between
your login and the Apache user - particularly the path.

HTH

Vic.