From fc04edac51d95dc6307877cc8839e907a5a1ff8f Mon Sep 17 00:00:00 2001 From: pcanterino <> Date: Fri, 11 Feb 2011 19:02:52 +0000 Subject: [PATCH 1/1] Rewrote some sentences in the README file --- README | 56 ++++++++++++++++++++++++++++++-------------------------- 1 file changed, 30 insertions(+), 26 deletions(-) diff --git a/README b/README index dc80581..cbea32c 100644 --- a/README +++ b/README @@ -4,10 +4,10 @@ ReadMe for Dev-Editor 3.2 Description ----------- -Dev-Editor is a simple CGI based editor written in Perl and licensed under the -terms of the Artistic License 2.0, which allows remote changes to files and -directory structures on a web server. That's useful if you aren't able to access -the files on your homepage directly, for example if you are on holiday. +Dev-Editor is a simple web based file manager written in Perl and licensed +under the terms of the Artistic License 2.0, allowing you to access a file +system on a server using a web browser. That's useful if you aren't able to +access the files directly or using FTP or SSH. Features -------- @@ -30,23 +30,24 @@ Installation ------------ First, you have to copy the files into a directory on your web server where you -are able to execute scripts (in most cases, this is "cgi-bin"). I suggest to -create a sub directory for Dev-Editor. -Then, you have to change the first line of devedit.pl: Just replace +are able to execute CGI scripts (in most cases, this is "cgi-bin"). I suggest +to create a sub directory for Dev-Editor. +Then you have to change the first line of devedit.pl: Just replace /usr/bin/perl by the path to your Perl interpreter. -If you are on a Unix based system, you have to set devedit.pl as executable +If you are on a Unix based system, you have to make devedit.pl executable (chmod 755 in most cases). -You will also need to configure Dev-Editor. See the next section for details. +You also have to edit Dev-Editor's configuration file (see next section for +details). -Note, that the directory where you installed Dev-Editor should be protected by -HTTP Authentication. If you don't do that, everybody will be able to access -Dev-Editor and use it for evil purposes. +If you install Dev-Editor on a public web server, you should protect its +directory using HTTP authentication or everybody in the world will be able to +access the configured directory structure! Configuration ------------- -Open the file devedit.conf. This file contains keys and values separated by a -"=" sign. Lines beginning with a "#" sign are ignored. +Open devedit.conf. This file contains keys and values separated by a "=" sign. +Lines beginning with a "#" sign are comments and will be ignored. Here is a list of the configuration options currently available: Option Description @@ -55,7 +56,7 @@ Option Description fileroot The root directory Dev-Editor is allowed to access. Nobody is allowed to access the files and directories above this directory. Dev-Editor needs write access to - this directory and to the sub directories. + this directory and its sub directories. httproot This is the equivalent HTTP URL to the root directory. It's just used for visual output, so it doesn't need to @@ -90,8 +91,8 @@ timeformat The format of the time shown in directory listings. %% - percent sign There are a lot of other placeholders. A complete list - is found at: - http://www.opengroup.org/onlinepubs/7908799/xsh/strftime.html + can be found at: + http://pubs.opengroup.org/onlinepubs/007908799/xsh/strftime.html Note that some systems don't support some of the placeholders (for example %T on Windows). @@ -106,8 +107,8 @@ hide_dot_files Set this option to 1 if you want to hide files or directories beginning with a dot (e.g. ".htaccess") in directory listing. The files are just hidden in the directory listing, - you can still access them typing the name into the - "Go to directory/file" box. + you can still access them using the "Go to + directory/file" box. forbidden Specify a list of filenames the user is not allowed to access. The filenames have to be relative to the @@ -120,18 +121,20 @@ disable_commands Specify a list of commands the user is not allowed to execute. The commands have to be separated by space characters. If you add "@write" to the list, all writing commands - (for example edit, copy, rename etc.) get disabled. + (for example edit, copy, rename etc.) will be + disabled. userconf_file Specifies the path to a file which contains user-dependent configuration options (see next section for details). error_file The path to the file which defines the error messages. - The file has the same format as this one. + The file has the same format as the main configuration + file. template_file The path to the file which defines the paths to the - template files. The file has the same format as this - one. + template files. The file has the same format as the + main configuration file. User-dependent configuration ---------------------------- @@ -152,7 +155,7 @@ For overriding configuration values you need a special configuration file. The path to this file is defined using the "userconf_file" configuration option in the main configuration file (add the option if necessary). This file consists of key-value-pairs and sections, marked by a string encapsulated in square brackets -(perhaps you know this format, it is nearly the same as the Windows INI files). +(perhaps you know this format, it is nearly the same as Windows' INI files). Each section in this file describes an individual configuration, whereby the name of the section is the username for whom this configuration should be used. Here is an example: @@ -176,8 +179,9 @@ aliases = marge bart Using this, the users whose usernames are "marge" and "bart" use the same configuration as "homer". You can place an arbitrary number of usernames seperated by whitespaces here. -Note: If one of the users mentioned as an alias and an individual configuration -section for this user exists too, the one mentioned as an alias is ignored. +Note: If one of the users is defined as an alias and there is an individual +configuration section for this user too, the one defined as an alias is +ignored. If there are some files marked as inaccessible using the "forbidden" configuration option in the main configuration file, but some users should have -- 2.34.1