CGI magic help
Don Calfa
plug-discuss@lists.plug.phoenix.az.us
Tue, 03 Jun 2003 17:24:14 -0700
Running out of box RH8 Apache 2.0.40. You guys helped me with VHOSTS
and that works great. Figured out some other stuff to almost get it
where I want it except for this last straw.
I've scoured the apache docs and the ones included on the server to see
why my cgi doesn't work and I maybe need someone to tell me where to
look. I have the test scripts that work on other servers so I know that
the scripts work.
<VirtualHost 10.0.0.20>
DocumentRoot /Volume2m/Websites/website3.com
ServerName website3.com
ServerAlias ww.website3.com az.website3.com
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-agent}i\""
comonvhost
CustomLog /Volume2m/Websites/Logfiles/website3.com/access_log "comonvhost"
ErrorLog /Volume2m/Websites/Logfiles/website3.com/error_log
LogLevel debug
ScriptAlias /cgi-bin/ "/Volume2m/Websites/website3.com/cgi-bin/"
</VirtualHost>
I have the scripts located in the correct directory, permissions are set
to read and execute.
All I get is:
Server error!
The server encountered an internal error and was unable to complete
your request.
Error message:
Premature end of script headers: test2.pl
Yet the same script works in M$ IIS5.