Extract the downloaded dmBridge distribution. This will result in a single
dmbridge-x.x.x folder to
dm folder into your CONTENTdm® web server's document root. (This
is the same place where your current
dmscripts folders reside.
dm/data folder somewhere where it is not
web-accessible. This may be anywhere outside your web server's document root;
or you may be able to "lock down" a specific directory with a web server
Failure to complete this step means that your database password and/or social data may be exposed to the public.
the new absolute path of the
dm/data folder. If you are
unsure of the absolute path, create an empty PHP script in the same folder,
type the following code into it, and load it in a web browser:
<?php die(dirname(__FILE__)); ?>
This will show you the full path to your dmBridge folder. Adjust it appropriately to point to your data folder instead. Make sure to change any backslashes to forward slashes.
Ensure the permissions on the
dm/data folder are set so
that the web server process has read/write access to all of the files and
folders inside it.
If using CONTENTdm®
Content5/docs/dmscripts/DMSystem.php and find the
following around line 1811:
print("<!-- $url //-->\n");
And comment it out by appending two slashes to it:
// print("<!-- $url //-->\n");
config.ini appropriately. Each setting is
documented within the file and will not be discussed here.
In a web browser, navigate to the following URI and verify that it outputs
XML without any
<dmException> elements showing up (you may
have to view the page source to see it):
robots.txt appropriately, if necessary.
dmBridge is now installed, but it is not yet configured. This will be done in the next section.