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

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



Thanks Toby..

>that the path names to all of the system files are correct and that the
>permissions

Are we talking here even files that the script may write to??
data files are called in almost every script.. for instance the message
board.. the message posted writes to digest.cgi every time.. the guest
books write to a log file and send a email back to say thanks for stopping
by..

>on the cgi script, its directories, and files are set correclty with chmod.

Permissions are 755 for the cgi's.. 666 for the data/log files the
subdirectories for the boards are: drwxrwsr-x I never saw that s in there
before on the shared machines..

>Go through the script and make sure that paths to sendmail, etc... are
>proper by comparing the path to the output of whereis.

Did that:
[root@www sbin]# whereis perl
perl: /usr/bin/perl5.00503 /usr/bin/perl /usr/local/bin/perl
/usr/man/man1/perl.1
[root@www sbin]# whereis sendmail
sendmail: /usr/bin/sendmail /usr/sbin/sendmail /etc/sendmail.cf
/etc/sendmail.cw /usr/lib/sendmail /usr/man/man8
/sendmail.8

boards.cgi config stuff:
#!/usr/bin/perl
[snip]
$basedir = "/home/sites/home/web/boards/$ENV{'QUERY_STRING'}";
$baseurl = "http://www.beautytech.com/boards/$ENV{'QUERY_STRING'}";
$cgi_url = "http://www.beautytech.com/boards/boards.cgi?$ENV{'QUERY_STRING'}";
$mesgdir = "messages";
$datafile = "data.txt";
[snip]
$mail = "/usr/sbin/sendmail";

call to script: guestbook
<form action="http://www.beautytech.com/cgibin/bt-guest.cgi"; method="post"
align="center">
call to script: guestbook
call for the message boards:
<form method="POST"
action="http://www.beautytech.com/boards/boards.cgi?nt-board";>     

I just tried changing to GET from POST and nothing changed.. got warnings,
errors, and it still posted.

I tried changing the call to:
<form action="http://www.beautytech.com/cgibin/cgiwrap/admin/bt-guest.cgi";
method="post" align="center">
and got 404 error

>I do have formmail.cgi running on my RaQ, I would be willing to send it to

please.. sometimes I need visuals <G>


Regards,
Debbie -->> <a href="http://beautytech.com/contest";>New Millennium Nailart
& Makeover Contest</a>

 ^v^   ///\o/\\\    ^v^ 

Debbie Doerrlamm       webmaster2@xxxxxxxxxxxxxx
(AIM- Nailgodess or NailGdsss  ICQ 354179)

WWWeb Services, Ronkonkoma, NY
877-669-7953 - voicemail/fax
BeautyTech / SalonMart
http://beautytech.com/   http://salonmart.com