[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [cobalt-users] CGI won't print output



hello
> Whenever I run a CGI script, the Cobalt Error 500 (see
> http://www.rfitz.com/cgi-bin/test.pl) message comes up, even for the
> simplest script:

you must chmod 755 the script to make it executable, without this it will run
through the command line as you are the owner but not through the browser.

also useful to have an index.html in every directory to stop anyone from
viewing the directory contents.

can create one through the command line
touch index.html

best wishes wampy


 > 
>   #!/usr/bin/perl
> 
>   print "Content-type: text/html\n";
>   print "Hello\n";
> 
> I am brand new to this cgiwrap, can anyone tell me if that is effecting my
> scripts and what I could do about it. The script runs fine from a command
> line. The file 'test.pl' is owned by admin in the group of it's site. I have
> tried just about all combinations of ownership to no avail.
> 
> Thanks:)
> --
> Robert Fitzpatrick
> WebTent Networking, Inc.
> PO Box 10785
> Tampa, FL 33679-0785
> US
> Tel: (813) 281-2253
> 
> _______________________________________________
> cobalt-users mailing list
> cobalt-users@xxxxxxxxxxxxxxx
> To Subscribe or Unsubscribe, please go to:
> http://list.cobalt.com/mailman/listinfo/cobalt-users
> 
> _______________________________________________
> cobalt-users mailing list
> cobalt-users@xxxxxxxxxxxxxxx
> To Subscribe or Unsubscribe, please go to:
> http://list.cobalt.com/mailman/listinfo/cobalt-users