FileWiki

NAME

Apache::FileWiki::Handler - Apache Handler for FileWiki pages

SYNOPSIS

<LocationMatch "^/filewiki/.*\.html$">
    SetHandler perl-script
    PerlResponseHandler Apache::FileWiki::Handler

    # base directory of the source files
    PerlSetVar BASEDIR "/var/www/localhost/htdocs/example.org"

    # prefix the link URI's, so that we access the files from:
    # http://127.0.0.1/filewiki/example.org
    PerlSetVar URI_PREFIX "/filewiki/example.org"

    # accept localhost only, this code is NOT secure!
    Order deny,allow
    Deny from all
    Allow from 127.0.0.1
</LocationMatch>

DESCRIPTION

Experimental web frontend to FileWiki. Works together with templates found in "example.org/templates/filewiki/". Supports modifying FileWiki pages and vars, issuing CMS commands and showing log and vars for debugging reasons.

NOTE: This handler is not secure at all! Do NOT make it accessible on a publicly available location! It does NOT check input and output files in any ways, thus allowing read and write operations on EVERY file on your filesystem (of course limited to the user/group permissions of your web server).

The full FileWiki documentation is available at https://digint.ch/filewiki.

TODO

  • Support cookies, for generic CMS input fields, logger settings, ...

AUTHOR

Axel Burri <axel@tty0.ch>

COPYRIGHT AND LICENSE

Copyright (c) 2011-2019 Axel Burri. All rights reserved.

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.