If your using name based virtual hosts, above the VirtualHost def's try
NameVirtualHost <IP OF UR BOX>
On Fri, 5 May 2000, It appears Phil said.......
>> Right basically I've got a vhost in httpd.conf that goes something along the
> lines of..
> <VirtualHost www.phil-the-nerd.org>
> DocumentRoot /home/phil/public_html
> ServerName www.phil-the-nerd.org
> Options ExecCGI Includes Indexes FollowSymLinks
> # To use CGI scripts:
> AddHandler cgi-script .cgi
> AddHandler cgi-script .py
> AddHandler cgi-script .sh
> AddHandler cgi-script .pl
> # To use server-parsed HTML files
> AddType text/html .shtml
> AddHandler server-parsed .shtml
> AddHandler server-parsed .html
> ScriptAlias /cgi-bin/ /home/phil/public_html/cgi-bin/
> Alias /include/ /home/phil/public_html/include/
> Alias /img/ /home/phil/public_html/img/
>> Everything else works perfectly including the last two aliases apart from the
> when I do a http://localhost/~phil/cgi-bin/test.pl that works but
> errors I get when trying to accesss it via the web are an "Internal Server
> Error" (500).
>> Error I get in the webserver logs is...
> [Fri May 5 01:06:38 2000] [error] [client 22.214.171.124] Premature end of
> script headers: /home/phil/public_html/cgi-bin/test.pl
>> Unfortunatey I have crap all apache experience.
> Irish Linux Users' Group: ilug at linux.ie>http://www.linux.ie/mailman/listinfo/ilug for (un)subscription information.
> List maintainer: listmaster at linux.ie>
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!