I have installed the .cgi and .pl files into cgi-bin. Other files are in /dbman including dbman/auth. Permissions are correct. On our server, the usual way of referencing scripts is //cgi.www.ourdomain.com/cgi-bin/www.ourdomain.com/scriptname and files in dbman (which is actually docs/dbman) would be referenced as /docs/www.ourdomain.com/dbman/filename. All of this generally works OK.
So in default.cfg I have
# File and URL's
# --------------------------------------------------------
# URL of the directory dbman resides in. No Trailing Slash Please.
$db_dir_url = "/docs/www.ourdomain.com/dbman";
# URL of dbman.
$db_script_url = $db_dir_url . "//cgi.www.ourdomain.com/cgi-bin/www.ourdomain.com/";
# Full Path and File name of the database file.
$db_file_name = $db_script_path . "/docs/www.ourdomain.com/dbman/default.db";
# Full path and file name of the counter file.
$db_id_file_name = $db_script_path . "/docs/www.ourdomain.com/dbman/default.count";
# Full path and file name of the authorization directory.
$auth_dir = $db_script_path . "/docs/www.ourdomain.com/dbman/auth";
# Full path and file name of the password file.
$auth_pw_file = $db_script_path . "/docs/www.ourdomain.com/dbman/default.pass";
# Full path and file name of the log file.
$auth_log_file = $db_script_path . "/docs/www.ourdomain.com/dbman/default.log";
# Full path and file name of the html routines.
require $db_script_path . "//cgi.www.ourdomain.com/cgi-bin/www.ourdomain.com/html.pl";
but I get an internal server error. The same is true if I put
"//cgi.www.ourdomain.com/cgi-bin/www.ourdomain.com/"
as the $db_dir_url
Can anyone help?
Thanks.
Tony.
So in default.cfg I have
# File and URL's
# --------------------------------------------------------
# URL of the directory dbman resides in. No Trailing Slash Please.
$db_dir_url = "/docs/www.ourdomain.com/dbman";
# URL of dbman.
$db_script_url = $db_dir_url . "//cgi.www.ourdomain.com/cgi-bin/www.ourdomain.com/";
# Full Path and File name of the database file.
$db_file_name = $db_script_path . "/docs/www.ourdomain.com/dbman/default.db";
# Full path and file name of the counter file.
$db_id_file_name = $db_script_path . "/docs/www.ourdomain.com/dbman/default.count";
# Full path and file name of the authorization directory.
$auth_dir = $db_script_path . "/docs/www.ourdomain.com/dbman/auth";
# Full path and file name of the password file.
$auth_pw_file = $db_script_path . "/docs/www.ourdomain.com/dbman/default.pass";
# Full path and file name of the log file.
$auth_log_file = $db_script_path . "/docs/www.ourdomain.com/dbman/default.log";
# Full path and file name of the html routines.
require $db_script_path . "//cgi.www.ourdomain.com/cgi-bin/www.ourdomain.com/html.pl";
but I get an internal server error. The same is true if I put
"//cgi.www.ourdomain.com/cgi-bin/www.ourdomain.com/"
as the $db_dir_url
Can anyone help?
Thanks.
Tony.