Gossamer Forum
Home : Products : DBMan : Installation :

Error 500 on installation

Quote Reply
Error 500 on installation
The url to my files are:
http://storm.prohosting.com/eqthor/cgi-bin/rosterdb/
filenames are db.txt and default.txt (db.cgi and default.cfg)

I have CHMODD' them many times 755 and 644 like in the instructions, the abs path to my files is :
/usr/home/web/e/eqthor/cgi-bin/rosterdb/

I tried uploading, using both shebangs (#!/usr/bin/perl and #!/usr/local/bin/perl)

What am I doing wrong please?

Quote Reply
Re: Error 500 on installation In reply to
Uploaded in ASCII mode?

Check the permissions on your directory as well (rosterdb) and make sure it is 755 (d rwx rx rx)

Quote Reply
Re: Error 500 on installation In reply to
Thanks, even though the directory CHMOD said 755, i guess it wasn't... but now the script is erroring somewhere in the paths...

did I type the script directories correctly?

Quote Reply
Re: Error 500 on installation In reply to
The configuration just needs to look like this (without defining the path on each line)

$db_dir_url = "http://storm.prohosting.com/eqthor/cgi-bin/rosterdb";
$db_script_url = $db_dir_url . "/db.cgi";
$db_file_name = $db_script_path . "/default.db";
$db_id_file_name = $db_script_path . "/default.count";
$auth_dir = $db_script_path . "/auth";
$auth_pw_file = $db_script_path . "/default.pass";
$auth_log_file = $db_script_path . "/default.log";
require $db_script_path . "/html.pl";

Hope this helps

Unoffical DBMan FAQ
http://webmagic.hypermart.net/dbman/