PDA

View Full Version : new client / CGI question


EWS
12-23-1998, 05:52 PM
Hi everyone, I'm a new client of Future Quest and I'm trying to set up the CGI scripts I used on my old server which was also Apache UNIX. I'll take my WWWBoard forums for example since I'm working on those right now ...

In the CGI script wwwboard.cgi, this is the CGI script I used on my old server.

$basedir = "/home/ewsonli/public_html/sports/golfboard";
$baseurl = "http://www.ewsonline.com/sports/golfboard";
$cgi_url = "http://www.ewsonline.com/sports/golfboard/wwwboard.cgi";

How do I have to change that for this new server? In other words, what is the full "basedir"? /www/sports/golfboard? I've tried several things and it's not working yet. I gte premature endings, internal server errors, or sometimes the CGI script text is just displayed. ????? BTW, I've uploaded a .htaccess file in the directories where I want to use CGI with the tag, AddHandler cgi-script cgi .

Thanks for the help in advance.
-Eric Sturgeon
- http://www.ewsonline.com

Deb
12-23-1998, 06:48 PM
Try this...

$basedir = "/big/dom/xewsonline/www/sports/golfboard"

And make sure that your scripts have their permissions set at 755 rather then 777 (regardless what the directions may tell you)

This should help http://www.aota.net/ubb/wink.gif
Deb
p.s. for reference all of this is listed in the UserManal at http://www.FutureQuest.net/UserManual and for a personal touch... it's in your activation letter http://www.aota.net/ubb/wink.gif

------------------
Unlocking the Power of the Internet!
www.FutureQuest.net (http://www.FutureQuest.net)

Terra
12-23-1998, 06:56 PM
Hmmmm, first question would be - "Have you read your Activation Letter???" http://www.aota.net/ubb/wink.gif

$basedir="/big/dom/xewsonline/www/sports/golfboard";

Also, very important, *any* directory that contains CGI scripts **must not** be group/world writeable...

At telnet line:
chmod go-w golfboard

--
Terra