吉田宏徳 > CatalystX-Plugin-Engine-FastCGI-Lighttpd > CatalystX::Plugin::Engine::FastCGI::Lighttpd

Download:
CatalystX-Plugin-Engine-FastCGI-Lighttpd-0.1.0.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  1
View/Report Bugs
Module Version: 0.1.0   Source  

NAME ^

CatalystX::Plugin::Engine::FastCGI::Lighttpd - Fix up for FastCGI on Lighttpd.

VERSION ^

This document describes CatalystX::Plugin::Engine::FastCGI::Lighttpd version 0.1.0

SYNOPSIS ^

    # 1. in your MyApp.pm
    use Catalyst qw(+CatalystX::Engine::FastCGI::Lighttpd);
    
    #    when lighttpd is behind proxy
    __PACKAGE__->config( using_frontend_proxy => 1 );
    
    # 2. in your lighttpd.conf
    server.error-handler-404 = "DISPATCH_TO_CATALYST"
    fastcgi.server = ( "DISPATCH_TO_CATALYST" =>
                       (( "socket" => "/path/to/myapp.socket",
                          "bin-path" => "/usr/bin/perl /path/to/myapp_fastcgi.pl",
                          "check-local" => "disable" )))

DESCRIPTION ^

C::E::FastCGI could not treat with PATH_INFO and QUERY_STRING correctly. This module fix up it. mod_proxy of Lighttpd does not set HTTP_X_FORWARDED_HOST. This module fix up it.

SUBROUTINES/METHODS ^

handle_request( $c, %args )

It rebuild PATH_INFO and QUERY_STRING from REQUEST_URI.

DIAGNOSTICS ^

Do you want to apply this really?

This module works only on fastcgi-lighttpd.

CONFIGURATION AND ENVIRONMENT ^

CatalystX::Plugin::Engine::FastCGI::Lighttpd requires no configuration files or environment variables.

DEPENDENCIES ^

None.

INCOMPATIBILITIES ^

None reported.

BUGS AND LIMITATIONS ^

No bugs have been reported.

Please report any bugs or feature requests to bug-catalystx-plugin-engine-fastcgi-lighttpd@rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=CatalystX-Plugin-Engine-FastCGI-Lighttpd. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

AUTHOR ^

Hironori Yoshida <yoshida@cpan.org>

LICENSE AND COPYRIGHT ^

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

syntax highlighting: