Home Documentation :: Templates Documentation :: Installation |
That indicates that something's wrong with the authoritzation of your webserver (Apache). You should enable it according to Installation Notes.
You have to modify .htaccess in your docarc's cgi-bin directory. Insert the following lines into the <Files> section:
Satisfy Any Order Allow,Deny Allow from all Deny from 192.168.1.0/24
Instead of 192.168.1.0/24 you may insert a space seperated list of IP addresses or subnets whose users should be asked for username and password.
One of the most common reasons are missing Perl packages. Have a look at Apache's error log (eg. under /var/log/httpd/error_log or /var/log/apache/error_log). If it indicates that Apache could not find some packages, please have a look at the Installation Manual. Either you can take your distribution's packages or you have to download them from cpan.org and install them manually.
Subcategories may be created by separating levels in the Id field with a slash, / (eg. unsorted and unsorted/foobar). Whenever the categorie's description is shown, the descriptions of the different levels are joined by "::".
Since there are already very good search engines, I do not plan to write my own one. Simply use ht://Dig to search through the whole Document Archive:
Depending on the type of documents you usualy upload into Document Archive, you should specify conversion rules in htdig.conf for using external parsers. Read more about that topic in ht://Dig configuration file manual, ht://Dig FAQ 4.8 and ht://Dig FAQ 4.9.
Since Document Archive 0.9.4 ht://Dig is somehow integrated in docarc. Have a look at Installation Notes on ht://Dig.
There are two possibilities:
The essential files include the documents subdirectory of your Document Archive installation and MySQL's docarc database. The latter is a subdirectory of MySQL's database directory (eg. /var/lib/mysql), named like the database (docarc by default). These files include complete information about all the documents. To completely backup user information you have to copy .htpasswd from your Document Archive directory as well. Configuration of the Document Archive system itself is stored in docarc.conf. The need for other files to be copied arises only if you have changed them manually (eg. style.css from your docarc's htdocs directory). To summarize, the following files should be included in a backup (assumed docarc is installed at /srv/www/cgi-bin/docarc and /srv/www/htdocs/docarc):
file/directory | location | what's in there? |
---|---|---|
documents | /srv/www/cgi-bin/docarc | the document files |
docarc | /var/lib/mysql | document data, doctype/fields-structure, categories, containers, user data, groups |
.htpasswd | /srv/www/cgi-bin/docarc | user passwords |
docarc.conf | /srv/www/cgi-bin/docarc | Document Archive configuration |
style.css | /srv/www/htdocs/docarc | traditional layout's style configuration |
It's not a bug, it's a feature... It assures that Document Archive will be shown correctly when switching between frame (or iframe) based and the traditional layout. The important lines (ie. the ones to delete or uncomment with //) are the first two in the <script>-section of layouts/traditional/layout.html
the Document Archive is © Konrad Kieling, 2004 |