Torsten Förtsch > Apache2-Translation-0.23 > Apache2::Translation::Config

Download:
Apache2-Translation-0.23.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
Report a bug
Source   Latest Release: Apache2-Translation-0.24

NAME ^

Apache2::Translation::Config - export our provider parameters to the WEB

SYNOPSIS ^

  PerlModule Apache2::Translation::Config
  <Location /-/config>
    SetHandler modperl
    PerlResponseHandler Apache2::Translation::Config
  </Location>

DESCRIPTION ^

This module implements a simple modperl handler that exports our provider parameters in YAML to the WEB, e.g.:

  $ curl http://localhost/-/config
  ---
  TranslationEvalCache: 1000
  TranslationKey: default
  TranslationProvider:
    - File
    - configfile
    - /path/to/config

This format can be used by the WEB interface Apache2::Translation::Admin to connect to the provider.

AUTHOR ^

Torsten Foertsch, <torsten.foertsch@gmx.net>

COPYRIGHT AND LICENSE ^

Copyright (C) 2005-2008 by Torsten Foertsch

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.