]> git.p6c8.net - devedit.git/blob - README
Again: Forgot to encode HTML in some more strings...
[devedit.git] / README
1 ReadMe for Dev-Editor 3.0 (CVS)
2 ===============================
3
4 Description
5 -----------
6
7 Dev-Editor is a simple CGI based editor written in Perl and licensed under the
8 terms of the Artistic License, which allows remote changes to files and
9 directory structures on a web server. That's useful if you aren't able to access
10 the files on your homepage directly, for example if you are on holiday.
11
12 Installation
13 ------------
14
15 First, you have to copy the files into a directory on your web server where you
16 are able to execute scripts (in most cases, this is "cgi-bin"). I suggest to
17 create a sub directory for Dev-Editor.
18 Then, you have to change the first line of devedit.pl: Just replace
19 /usr/bin/perl by the path to your Perl interpreter.
20 If you are on a UNIX based system, you have to set devedit.pl as executable
21 (chmod 755 in most cases).
22 You will also need to configure Dev-Editor. See the next section for details.
23
24 Note, that the directory where you installed Dev-Editor should be protected by
25 HTTP Authentication. If you don't do that, everybody will be able to access
26 Dev-Editor and use it for evil purposes.
27
28 Configuration
29 -------------
30
31 Open the file devedit.conf. This file contains keys and values separated by a
32 "=" sign.
33 Here is a list of the configuration options currently available:
34
35 Option Description
36 ------ -----------
37
38 fileroot The root directory Dev-Editor is allowed to access.
39 Nobody is allowed to access the files and directories
40 above this directory. Dev-Editor needs write access to
41 this directory and to the sub directories.
42
43 httproot This is the equivalent HTTP URL to the root directory.
44 It's just used for visual output, so it doesn't need to
45 be correct.
46
47 max_file_size Here you may define a maximum size for files (Bytes).
48 If the user wants to view or edit a file larger than
49 this defined size, Dev-Editor denies file access (but
50 the file can still be copied, renamed or removed).
51 If this is empty or 0, any file can be viewed or
52 edited.
53
54 timeformat The format of the time shown in directory listings.
55 These are the most important placeholders:
56
57 %a - short day name (Sun to Sat)
58 %A - long day name (Sunday to Saturday)
59 %b - short month name (Jan to Dec)
60 %B - long month name (January to December)
61 %d - day of the month (01 to 31)
62 %H - hour in 24 hour clock (00 to 23)
63 %I - hour in 12 hour clock (01 to 12)
64 %m - month of the year (01 to 12)
65 %M - minutes (00 to 59)
66 %p - AM or PM
67 %S - seconds (00 to 59)
68 %y - two digit year (03)
69 %Y - four digit year (2003)
70 %% - percent sign
71
72 There are a lot of other placeholders. A complete list
73 is found at:
74 http://www.opengroup.org/onlinepubs/7908799/xsh/strftime.html
75 Note that some systems don't support some of the
76 placeholders (for example %T on Windows).
77
78 This format is also used to format the system time in
79 the About dialogue.
80
81 use_gmt Set this option to 1 if you want to use Greenwich Mean
82 Time (GMT/UTC) in directory listing and in the About
83 dialogue instead of the local time.
84
85 forbidden Specify . The filenames have to be separated by space characters.
86 If a filename contains space characters, you have to
87 put it into double quotation marks ("/filename").
88
89 error_file The path to the file which defines the error messages.
90 The file has the same format as this one.
91
92 template_file The path to the file which defines the paths to the
93 template files. The file has the same format as this
94 one.
95
96 Notes
97 -----
98
99 Symbolic links are treated as files, no matter where they point to. The user is
100 just allowed to see the path where the link points to, he is allowed to delete
101 the link, to rename it and to overwrite it by renaming an other file. Nothing
102 else is allowed.
103 Accessing a symbolic link pointing to a directory also caused a very strange
104 effect: It was possible to access this directory, but you could not access the
105 objects in it.
106 I had to do it in this way because of the very stupid behaviour of abs_path()
107 from the Cwd module: This function is just able to detect the absolute path of
108 directories.
109 Hard links are not affected by this.
110
111 ------------------------------------------------
112
113 (C) 1999-2000 Roland Bluethgen, Frank Schoenmann
114 (C) 2003-2005 Patrick Canterino
115
116 E-Mail: patrick@patshaping.de
117 WWW: http://devedit.sourceforge.net/

patrick-canterino.de