FilterProxy::Skeleton Config

Back to FilterProxy main configuration.

Skeleton is a bare-bones module intended for people that might want to write their own modules. It is heavily commented, and should explain the basic workings of modules. Take a look at this file (html/Skeleton.html) and the Skeleton module, FilterProxy/Skeleton.pm.

The ENV hash is passed to Skeleton.html, and contains the following:

%ENV = (
  'SERVER_SOFTWARE' => 'FilterProxy $Revision: 0.26 $',
  'GATEWAY_INTERFACE' => 'CGI/1.1',
  'VERSION' => '0.01',
  'REMOTE_ADDR' => '123.45.67.89',
  'REQUEST_METHOD' => 'GET',
  'REMOTE_USER' => '',
  'QUERY_STRING' => '',
  'HTTP_ACCEPT' => '*/*',
  'REMOTE_PORT' => 45100,
  'HTTP_PROXY_AUTHORIZATION' => 'Basic vAeDjfDnIakVBaIJeNAhekp=',
  'HTTP_ACCEPT_LANGUAGE' => 'en',
  'HTTP_ACCEPT_ENCODING' => 'gzip,deflate,compress,identity',
  'SERVER_NAME' => 'localhost',
  'SERVER_PORT' => 8888,
  'MODULECONFIG' => {
    'mime_types' => [
      'text/html',
      'text/plain'
    ],
    'order' => 4
  },
  'PATH_TRANSLATED' => '/home/filterproxy/html/Skeleton.html',
  'MESSAGE' => 'It worked.
',
  'SERVER_PROTOCOL' => 'HTTP:/1.1',
  'REMOTE_HOST' => 'your.computer.here',
  'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; U; Linux 2.4.0-test9 i686; en-US; m18) Gecko/20001214',
  'HTTP_CONNECTION' => 'keep-alive',
  'AUTH_TYPE' => '',
  'HTTP_KEEP_ALIVE' => 300,
  'SCRIPT_NAME' => '/home/filterproxy/html/Skeleton.html',
  'PATH_INFO' => 'Skeleton.html',
  'MODULES' => [
    'Compress',
    'Skeleton',
    'Header',
    'Rewrite',
    'DeAnim'
  ],
  'CONTENT_LENGTH' => '0',
  'CONTENT_TYPE' => '',
  'HTTP_HOST' => 'localhost:8888'
);

FilterProxy::Skeleton was written by Bob McElrath. Please see the README, BUGS, and any relevant module documentation before mailing me with problems.