Danel_P: Bekomme WebBBS-Forum nicht ans Laufen!

Beitrag lesen

Mit "absoluter Pfad" ist der Dateipfad dieses Ordners im Betriebssystems gemeint. Das hat absolut nichts mit der url zu tun, unter dem der Ordner von außen zu erreichen ist. Den absoluten Dateipfad zu deinem Ordner sollte dir dein Provider mitteilen können.

Ok, ich bin noch mal die WebBBS-Doku durchgegangen und habe einige Sachen wie z. B. Pfadangaben korrigiert. Trotzdem wird das Skript nach wie vor nicht ausgeführt.

Hier noch mal der Auszug aus meiner webbbs_config.pl (sind die Pfad- und URL-Angaben jetzt korrekt?):

---

(1) Specify the location of your webbbs_settings.pl script:

require "/var/www/web1875/html/cgi-bin/forum";

(2) Locate the files and directories unique to this forum:

$dir = "/var/www/web1875/html/webbbs/data";
$cgiurl = "http://www.meine-seite.de/cgi-bin/forum/webbbs_settings.pl";

---

Sowie noch einmal die Anleitung:

---

(A) The essential variables are as follows:

In the config script itself, first make sure that the "require" line
is defined with the correct path to your webbbs_settings.pl file.  Then
define the following variables:

$dir:  The absolute path (minus a trailing slash) of the directory
  in which all the WebBBS data files are to be stored.  This directory
  must be set world-writable, or else WebBBS won't be able to use it!
  Your data directory, by the way, should *not* be located within
  your CGI-BIN directory.  Even if your server allows it -- which
  many don't -- locating a world-writable directory and world-
  writable files within your CGI-BIN is an unacceptable (and
  unnecessary) security risk.

$cgiurl:  The URL address of the WebBBS configuration script itself.
  (In other words, it should contain the URL to be referenced to run
  the script!)

$boardname:  The name of your specific discussion board.  THIS VARIABLE
  MUST BE DEFINED FOR COOKIES AND CERTAIN OTHER SCRIPT FUNCTIONS TO
  WORK PROPERLY!  If you don't want the board name to print, set
  $printboardname as 0.  Do *not* simply leave $boardname undefined.

$shortboardname:  You can optionally define here a shorter version of
  your forum's name, to be used in the subject lines of any e-mail
  notices sent out announcing new posts.  (If this variable is not
  defined, your forum's full name will be used.)

Under the third heading ("Define variables you want changed from
webbbs_settings.pl"), simply re-define any of the variables from the
"settings" script which, for whatever reason, should be different for
this particular board.  (If you're only *running* one forum, obviously,
this is a moot point.  But if you're running multiple boards, while many
settings will be consistent from one to another, other settings, such as
the forum name, will be different in each case.)

---

Und ein Auszug aus der webbbs_settings.pl:

(1) Specify the locations of your WebBBS files:

$scripts_dir = "/var/www/web1875/html/cgi-bin/forum";

$webbbs_basic = "$scripts_dir/webbbs_basic.pl";
$webbbs_form = "$scripts_dir/webbbs_form.pl";
$webbbs_index = "$scripts_dir/webbbs_index.pl";
$webbbs_misc = "$scripts_dir/webbbs_misc.pl";
$webbbs_post = "$scripts_dir/webbbs_post.pl";
$webbbs_profile = "$scripts_dir/webbbs_profile.pl";
$webbbs_read = "$scripts_dir/webbbs_read.pl";
$webbbs_rebuild = "$scripts_dir/webbbs_rebuild.pl";
$webbbs_text = "$scripts_dir/webbbs_text.pl";

(2) Define your e-mail notification features:

$mailprog = 'SMTP';
$WEB_SERVER = "meine-seite.de";
$SMTP_SERVER = "meine-seite-bus.de";

$admin_name = "Administrator";

$maillist_address = "webmaster@meine-seite.de";
$notification_address = "webmaster@meine-seite.de";
$ReplyToAddress = "";

$email_list = 0;
$private_list = 0;

$HeaderOnly = 0;

use Socket;

use Net::SMTP;

#################################################################

You MAY define the following variables, but do not have to!

#################################################################

(3) Tailor the appearance and functionality of your BBS:

$SearchFriendlyURLs = 0;

$DBMType = 0;

$SpellCheckerID = "";
$SpellCheckerPath = "";
$SpellCheckerJS = "";
$SpellCheckerLang = "";

$UserProfileDir = "/var/www/web1875/html/cgi-bin/forum/profiles";
$ProfileColumns = 3;
$UserProfilePicsDir = "/var/www/web1875/html/cgi-bin/forum/profilepics";
$UserProfilePicsURL = "http://www.meine-seite.de/cgi-bin/forum/profilepics";
$MaxGraphicSize = 150;

$ListAllProfiles = 1;
$ListEmptyProfiles = 1;

$UserPicsDir = "/var/www/web1875/html/cgi-bin/forum/userpics";
$UserPicsURL = "http://www.meine-seite.de/cgi-bin/forum/userpics";

$MetaFile = "";

$HeaderFile = "/var/www/web1875/html/cgi-bin/forum/header.txt";
$FooterFile = "/var/www/web1875/html/cgi-bin/forum/footer.txt";
$MessageHeaderFile = "/var/www/web1875/html/cgi-bin/forum/header.txt";
$MessageFooterFile = "/var/www/web1875/html/cgi-bin/forum/footer.txt";
$FramedHeaderFile = "";
$FramedFooterFile = "";
$FramedMessageHeaderFile = "";
$FramedMessageFooterFile = "";

---

Das in der Variable $dir der Pfad zum Datenordner stehen soll, und nicht der Ordner, unter dem die Perlskripte liegen, hast du ja sicherlich auch gelesen.

Btw, eine Rechtevergabe von 755 ist noch nicht das von der Dokumentation geforderte "world-writeable" für den Datenordner, sondern ein "owner-write-/read-/executeable, group- and world-read-/executeable". Siehe Unix-Dateirechte

Grüße, Skrilax

Problem: Wenn ich beim Datenordner alle drei write-Häkchen aktiviere, ist dies bei allen anderen Dateien/Ordnern auch geschehen. (WS_FTP -> rechte Maustaste auf Ordner -> chmod (UNIX)

Grüße
Daniel