From: Dave Burke (dave at domain compsoc.com)
Date: Fri 05 May 2000 - 08:27:36 IST
If your using name based virtual hosts, above the VirtualHost def's try
adding........
NameVirtualHost <IP OF UR BOX>
HTH,
Dave
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/
> </VirtualHost>
>
> Everything else works perfectly including the last two aliases apart from the
> cgi-bin
> when I do a http://localhost/~phil/cgi-bin/test.pl that works but
> http://www.phil-the-nerd.org/cgi-bin/test.pl doesn't..
> 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 159.134.207.156] Premature end of
> script headers: /home/phil/public_html/cgi-bin/test.pl
>
> Unfortunatey I have crap all apache experience.
> Phil.
>
>
> --
> Irish Linux Users' Group: ilug at domain linux.ie
> http://www.linux.ie/mailman/listinfo/ilug for (un)subscription information.
> List maintainer: listmaster at domain linux.ie
>
This archive was generated by hypermail 2.1.6 : Thu 06 Feb 2003 - 13:06:02 GMT