File: mhaadmin.rc

package info (click to toggle)
mhonarc 2.6.16-1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k, lenny, squeeze
  • size: 8,688 kB
  • ctags: 7,916
  • sloc: perl: 279,199; makefile: 34
file content (33 lines) | stat: -rw-r--r-- 1,062 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
#!/usr/local/bin/perl
## mhaadmin.cgi resource file

## The syntax of this file is Perl.  mhaadmin.cgi will require this file
## at start-up.  This file should be in the same directory as mhaadmin.cgi.

## Location of MHonArc libraries
use lib qw( /home/ehood/work/perl/MHonArc/lib );

+{
    ## Type of archive locking performed
    ## ---------------------------------
    'lockmethod' => 'directory',	# Directory file method (default)
    #'lockmethod' => 'flock',		# Flock() method (use it if you can)

    ## Hash of archives to manage
    ## --------------------------
    'archive' 	=> {
	## 'full/pathname/to/archive' =>
	    ## [ "Label to appear in admin program", "Base URL to archive"],

	'/home/ehood/work/perl/MHonArc/work/cgitest' =>
	    [ 'Cgi Test', 'http://localhost/mha-bin/cgitest/' ],

	'/home/ehood/work/perl/MHonArc/work/out' =>
	    [ 'MIME Test', 'http://localhost/mha-bin/out/' ],
    },

    ## Image URL: Where icons are located
    ## ----------------------------------
    'iconurl'	=> 'images',
};
## NOTHING GOES BELOW THIS LINE