package Cpanel::Easy::Apache::Proxy;

# cpanel - Cpanel/Easy/Apache/Proxy.pm            Copyright(c) 2011 cPanel, Inc.
#                                                           All rights Reserved.
# copyright@cpanel.net                                         http://cpanel.net
# This code is subject to the cPanel license. Unauthorized copying is prohibited

our $easyconfig = {
    'name' => 'Proxy',
    'url'  => 'http://httpd.apache.org/docs/[% apache_uri_version %]/mod/mod_proxy.html',
    'note' => 'required for cPanel/WHM/Webmail/Webdisk proxy VirtualHost support',
    'step' => {
        '0' => {
            'name'    => 'Adding --enable-proxy to Apache configure line',
            'command' => sub {
                my ($self) = @_;
                $self->add_to_configure( { '--enable-proxy' => '' } );
                return ( 1, 'Ok' );
            },
        },
    },
};

1;
