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


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

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

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

    # accept localhost only, this code is NOT secure!
    Order deny,allow
    Deny from all
    Allow from


Experimental web frontend to FileWiki. Works together with templates found in "". 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


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


Axel Burri <>


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 <>.