[ Date Index ][
Thread Index ]
[ <= Previous by date / thread ] [ Next by date / thread => ]
On Tue, Dec 11, 2001 at 09:49:39AM +0000, MATTHEW BROWNING wrote: > httpd.conf had the cgi-bin scriptalias location as /var/www/cgi-bin > so I thought I wouldn't change that. And I rpesume that that's where you are running the script from. > Now, let's consider the simplest script imaginable, such as: > > #!/bin/sh > echo "Content-type: text/html" > echo > echo "<html>" > echo "hello world" > echo "</html> > #ends I think you'll find this is simpler :) #!/bin/sh echo "Content-type: text/plain hello world" What error are you actually getting then? Blank page? Internal Server error? or some other error? Steve -- The Mailing List for the Devon & Cornwall LUG Mail majordomo@xxxxxxxxxxxx with "unsubscribe list" in the message body to unsubscribe.