
|
View Full Version : Free Message Board from cgi-factory.com. Need help with some config. paths
Hi,
I'm a freshmen doing stuff that are way above my head.
Have a message board from cgi-factory (http://www.cgi-factory.com/messageboard/index.shtml) I'm trying to set up. All is (probably) going well, unless from the boxes in the config where they ask me to write some paths. I've tried every possible path but it still doesn't work.
If there's some kind hearted soul out there with a few minutes to spare and insight about this, mail me and I'll get you all the details.
I'm about to have a break-down....
D
Lawrence 09-16-2001, 11:35 AM Which paths exactly? And what sort of server are you on?
To begin with, assuming that you're on a Unix machine, try these for the "Path to perl":
/usr/bin/perl
/usr/local/bin/perl
And these for the "Path to sendmail":
/usr/lib/sendmail
/usr/sbin/sendmail
They're the most common ones, although there are a few more. Also, have a browse through your host's support pages if they have some, or shoot them an e-mail with the relevant questions.
Thanks Lawrence,
I actually attached a jpeg to my query, but that seems to have disappeared. I'll try that again. Hope it's there now...
As you see, it's not the perl path nor the path to sendmail. I'm done with that. It's probably some SSI tags I can't get right?
Oh, the server is a Intel/Linux. It's in Australia, and I'm in Sweden (yeah, it's stupid, but I have good reasons) and the time differences kills me.
They have a path advised at their site, but I don't understand if it's the same. I've tried it in vain.
Here's the URL to the hosts tech page with that path:
http://www.netregistry.au.com/support/hosting/advanced_scripts.html
Chicken 09-16-2001, 01:23 PM Well, from the documentation that you posted, and the screen shot, it seems as if it wants the full root path.
This would be the path to the files from the very root of the server. You have /cgi-bin/mb which would only be the partial path (the end).
You wouldn't know this unless you had telnet access or emailed your host asking for the full root path of the diectories.
This is *not* what your path would be, but for example, on a RaQ4, the path would be something like:
/home/sites/www.domain.com/web/cgi-bin
MikeM 09-16-2001, 01:28 PM As per
http://www.netregistry.au.com/suppo...ed_scripts.html
Website cgi path:
/www/full/first letter of your domain name/your domain name/cgi-bin/
for example: /www/full/n/netregistry.net/cgi-bin/
Chicken:
Thanks. If you only knew how good it was reading your "it seems as if..."
Obviously, the instructions are a bit hazy even for guys like you.
Mike M:
I tried that very path about 16 hours ago (when I decided to land this project..). Then, I tried about a million different variations.
Do you know anyone who could sit down and fix this? I'll e-mail him/her a six-pac...
Dan
MikeM 09-16-2001, 03:08 PM Are you getting send mail erros???
The full system path to the mail program
(sendmail) or the smtp server(SMTP)
(add -t or remove -t for sendmail path if it causes any error)
Have you tryed -t or +t ?
message boards = /home/httpd/cgi-bin/mb4_51/data
see http://www.cgi-factory.com/cgi-bin/demo/mb4_51/configur.pl
Lawrence 09-17-2001, 01:00 AM Looks like you need to use something like this:
/www/full/n/netregistry.net/cgi-bin/path_to_data_directory
and
/www/full/first_letter_of_domain/your_domain/cgi-bin/path_to_misc_directory
Is that what you did or did you just specify the path to your cgi-bin?
Lawrence,
Thanks for tip. But as I wrote to Mike M about three post up, that was the first thing I tried.
However, advised by others, I made a script
#!/usr/bin/perl
print "Content-type: text/html\n\n";
$pwd = `pwd`;
print $pwd . "\n";
and installed in the directory. When viewing in a browser, the path shown is
/www/clientweb/com/w/weazeldicks.au.com/cgi-bin
not even near the path advised by the host.
Anyways, I'm crawling slowly an inch at the time, and when writing this, the installation is ALMOST DONE (knock on wood). I suppose this eternal struggle and enigmatic installation instructions are what I have to expect when using a free script.
If anyone has more ideas or like to know what's happening, please feel free contacting me.
Thanks all for input and ideas.
Dan
Chicken 09-17-2001, 09:18 AM That path looks closer. I'm not sure if it works now or not. If not, then maybe your host can confirm that is the full path, though it looks like it and the script should have told you that (the little one you installed to check the path).
I don't know what server configuration the example was for (on the script web site), not something I've seen before, then again I'm not familiar with most structures really, just that that one seems very foreign, heh.
Cyberpunk 09-19-2001, 08:53 PM Here is a link to a little cgi called perldiver, its insanely easy to set up, and once called from your browser will tell you everything you need to know about your paths and server config, even down to which modules are installed. Seriously, try it, it will help you.
http://www.scriptsolutions.com/programs/perldiver.shtml
|