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

RE: [cobalt-users] Any one running Matt Wrights message boards???



>
> I seem to be having some sort of CGI problem with my message boards..
> Its probably related to my earlier cgiwrap error post..
>
> this from a guru on Matts boards:
> >Ok, if you are using CGIWRAP now, this is a whole different
> animal to deal
> with. I'm
> >not that fimilar with CGIWRAP, but I do know that the script has to be
> executed in a
> >certain way and usually from a certain directory, normally a
> 'cgi-bin' and
> the URL
> >has to be formatted in a special, something
> /cgi-bin/cgiwrap/username/the_script.pl.
> >The username is your username for your server account. The chmod setting
> has to be
> >set a certain way too. You need to find out how they have the CGIWRAP
> configured on
> >the server to find out exactly how the script needs to be executed.
>
> I'm now going to have to do some serious reading on this cgiwrap
> stuff.. is
> there a way to disable it completely?? Do I want to do that???
>
>
>
I've set up both of his FormMail.pl and his guestbook script for a user on
my RAQ with no CGIWRAP problems.
As long as I upload as the siteadmin for that virtual domain and CHMOD
correctly, I don't need a .htaccess file to disable the CGIWRAP. If you
email me offlist, I can send you the scripts as configured for my server.

But, here's the important part:

$guestbookurl = "http://www.domain.com/guestbook.html";;
$guestbookreal = "/home/sites/site15/web/guestbook.html";
$guestlog = "/home/sites/site15/web/guestlog.html";
$cgiurl = "http://www.domain.com/cgi-bin/guestbook.pl";;
$date_command = "/bin/date";

# Set Your Options:
$mail = 1;              # 1 = Yes; 0 = No
$uselog = 0;            # 1 = Yes; 0 = No
$linkmail = 1;          # 1 = Yes; 0 = No
$separator = 1;         # 1 = <hr>; 0 = <p>
$redirection = 1;       # 1 = Yes; 0 = No
$entry_order = 1;       # 1 = Newest entries added first;
                        # 0 = Newest Entries added last.
$remote_mail = 0;       # 1 = Yes; 0 = No
$allow_html = 0;        # 1 = Yes; 0 = No
$line_breaks = 1;	# 1 = Yes; 0 = No

# If you answered 1 to $mail or $remote_mail you will need to fill out
# these variables below:
$mailprog = '/usr/sbin/sendmail';
$recipient = 'user@xxxxxxxxxx';

--
Dan Kriwitsky