GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  RUNAPP::APACHE (3)

.ds Aq ’

NAME

RunApp::Apache - Apache control for RunApp

CONTENTS

SYNOPSIS



 use RunApp::Apache;

 $apache = RunApp::Apache->new
            (root => "/tmp/apache_run",
             report => 1,
             apxs => /usr/local/sbin/apxs,
             # httpd => /usr/local/sbin/httpd,
             required_modules => ["log_config", "alias", "perl", "mime"],
             config_block => q{
 [% IF AP_VERSION == 2 %]
  eval { use Apache2 };
  eval { use Apache::compat };
 [% END %]

 <Location /myapp>
  AllowOverride None
  SetHandler perl-script
  PerlSetVar approot [% cwd %]
  PerlHandler MyApp
  Options +ExecCGI
 </Location>
 });



DESCRIPTION

This is the class for defining a apache web server to be used in RunApp.

CONSTRUCTOR

    new (%arg)

Required arg:
root The root for the apache instance.
apxs
httpd If apxs is specified, httpd will be derived from it.
required_modules A arrayref to the apache modules required.
config_block The config block that will be the extra block in the template used by RunApp::Template::Apache.
CTL The class for handling apachectl. The default is RunApp::Control::AppControl. You can also use RunApp::Control::ApacheCtl.
CONF The class for handling apache config. The default is RunApp::Template::Apache. It is used in the build phase of RunApp

SEE ALSO

RunApp, RunApp::Control::Apache, RunApp::Template::Apache, App::Control

AUTHORS

Chia-liang Kao <clkao@clkao.org>

Refactored from works by Leon Brocard <acme@astray.com> and Tom Insam <tinsam@fotango.com>.

COPYRIGHT

Copyright (C) 2002-5, Fotango Ltd.

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

Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 RUNAPP::APACHE (3) 2006-11-08

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.