# # WF configuration file # # Note that fully qualified paths can use %DOCUMENT_ROOT% to me # the path in the web environment variable $ENV{DOCUMENT_ROOT} # Requires script was invoked with a userid/password set up by .htaccess auth=yes # Where the file lives file=/tmp/webfile.demo.txt # Limit on size of file (default=100,000 characters) filesize=10000 # Force the lineends for saved files to the OS you want (dos,unix,mac) # Defaults to 'dos' filenewline=unix # Verify this file as your basic key=value file verify=internal #verify=%DOCUMENT_ROOT%/webfile/verify.inc # Specify the size of the textarea for the Edit Window cols=75 rows=20 # Path to a file with a fragment of HTML for the footer and header #header=%DOCUMENT_ROOT%/webfile/j.hdr #footer=%DOCUMENT_ROOT%/webfile/j.footer # Passwd value required to access the file. # This is generally a poor choice since the password is passed in # clear text and can observed. A better choice is to use auth=. #passwd= # Title for HTML we generate title=WebFile - Demonstration # URL to provide a link to the next place to go when the action completes # This may be a full URL (http:// etc) or a partial (/webfile) #url=http://www.hps.com/~tpg/toolbox/index.php?file=webfile # Specifies a list of valid functions that can be applied to the file # This could be any of these # validfcns=edit save verify upload saveload download # validfcns=edit mysave # validfcns=* validfcns=* # Specifies a list of users who may use this file # This requires one make use of the auth= keyword. #validusers= # Specifies a CVS command to issue to check the file into CVS # Requires that the web server has write access to the 'file' directory # WebFile will append '-m "some reason" filename' to your command #cvs=/usr/bin/cvs -f -l -d /your/CVSROOT/path commit