Re: [Hampshire] Apache config & cgi-bin

Inizio della pagina

Reply to this message
Autore: Vic
Data:  
To: hampshire
Oggetto: 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.