DocMgr project is a full-featured document management system that incorporates automatic indexing of uploaded files, automatic content indexing of pictures, automatic ocr, group-level permissions, WebDAV, and a discussion board for stored files.
Beyond its stock indexing subsystem, DocMGR also has the capability to incorporate Tsearch2 (a full-text indexing add-on for Postgresql) for a responsive, full-text file indexing system.
· DocMGR also requires some standard Unix programs for indexing files. These are as follows: tr, cat, ps, and which. If it cannot find these in apache's path, it will report an error when first accessing the program. These programs are pretty standard, so I don't anticipate any problems.
Untar the DocMGR archive.
Now we need to allow the user your apache process runs as to have write access to our files directory. By default, on most linux distributions, apache runs as the user "nobody". So, just type "chown -R nobody /path/to/docmgr/files". If you are running apache as a different user, replace "nobody" with that user.
DocMGR now allows you to move the "files/" directory to a location not accessible from the web. This allows the storage of data on a separate drive/partition, or just in a location out of apache's reach.
If you leave the "files/" directory in the default location, or in a web-accessible location, be sure to perform the httpd.conf modification below. To not do so will allow anyone to download files stored in DocMGR!.
In your apache httpd.conf file, add the following lines:
< Files "*.docmgr" >
Deny from all
< /Files >
This prevents anyone from pointing their browser to your "files/data/" or "files/thumbnails/" directories and freely downloading files from the application.
Edit the config/config.php file. The file is commented and hopefully self-explanatory.
Make sure you set any options in the REQUIRED section.