Re: cgi's don't work in vhost config with apache
you are using suexec, aren't you? So check suexec's log file.
On Thu, Sep 26, 2002 at 09:00:38AM -0500, Justin Ryan wrote:
> Heya all..
> Sorry for the cross-post but it seemed reasonably applicable to
> debian-user and debian-isp..
> I'm trying a simple "Hello Web" script in python and (to prove that it
> isn't python related) as a simple shell script. Both work on my
> Debian/sid workstation, which has a default apache configuration.
> However, on my Debian/woody web server, which has several virtual hosts,
> I get 500/Internal Server Error. /var/log/apache/error.log says
> "Premature end of script headers".
> I first stuck the script(s) in /usr/lib/cg-bin without modifying apache
> configuration. I tried adding the ScriptAlias line and <Directory>
> entry from apache's global config to the <VirtualHost> - no cigar.
gocept gmbh & co. kg - schalaunische strasse 6 - 06366 koethen/anhalt
fon. +49 3496 3099114 - fax. +49 3496 3099118 - mob. +49 173 9078826