[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [cobalt-users] CGI won't print output
- Subject: RE: [cobalt-users] CGI won't print output
- From: "Sim Ayers" <sim@xxxxxxxxxxxx>
- Date: Sun Aug 5 09:40:19 2001
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
Robert,
Add this to your /etc/httpd/conf/access.conf file
<Directory /home/sites/*/web/cgi-bin>
AllowOverride None
Options ExecCGI
</Directory>
<Directory /home/sites/*/web/cgi-bin>
AllowOverride None
Options -Indexes
</Directory>
<Directory /home/sites/*/web/cgi-bin>
AllowOverride None
Options ExecCGI
AddHandler cgi-wrapper .cgi
AddHandler cgi-wrapper .pl
</Directory>
make sure you have cgi scripts enabled for this site.
http://www.rfitz.com/cgi-bin/ .......very dangerous
the way it is now, the whole world can grab your files
for scripts that don't work at this to the top of the file.
Always add 'Options -Indexes' for cgi-bin directories.
#!/usr/bin/perl
use CGI::Carp qw(fatalsToBrowser); # only for debugging
Sim
http://www.perl-studio.com
-----Original Message-----
From: cobalt-users-admin@xxxxxxxxxxxxxxx
[mailto:cobalt-users-admin@xxxxxxxxxxxxxxx]On Behalf Of Robert
Fitzpatrick
Sent: Sunday, August 05, 2001 4:28 PM
To: 'cobalt-users@xxxxxxxxxxxxxxx'
Subject: [cobalt-users] CGI won't print output
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:
#!/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