Apache Reverse proxy modules

Synopsis

This module aims at installing the library functions. While installing the library functions, it will check the availability of already existing library functions. It helps in managing and configuring the application settings. The user can specify the default values for application settings.

Help command

The help command guides the user get aware of the uses, and also the options and actions that can be performed. The coding to make use of help command under Apache Reverse proxy module, is given as follows

cleopatra ApacheReverseProxyModules help

The screen shot shown below gives you an pictorial representation of help command usage.

Kevells@corp/# cleopatra ApacheReverseProxyModules help
******************************


This command is part of Core and provides you  with a method by which you can configure Application Settings.
You can configure default application settings, ie: mysql admin user, host, pass

ApacheReverseProxyModules, apache-reverse-proxy-modules, apache-proxy-mods, apacheproxymodules, apache-lb-mods,
apache-load-balancer-modules

- install
      Installs Load Balancer/Reverse Proxy Apache Modules
      example: cleopatra apache-lb-mods install

------------------------------
End Help
****************************

Installation

Parameters Required Comment
Install Reverse Proxy Apache Modules (In the place of Reverse Proxy Apache Modules the user can also specify the following parameters: ApacheReverseProxyModules,apache-lb-mods a pacheproxymodules ,apache-proxy-mods apache-lb-mods,apache-load-balancer-modules apache-reverse-proxy-modules,apache-proxy-mods Yes This command will install the apache rev proxy module
Install ApacheReverseProxyModules (Y/N) Y(Yes) If the user input as Y,the apache reverse proxy module will be installed.
Install ApacheReverseProxyModules (Y/N) N(NO) If the user inputs as N,the process will gets quit from installation.|

While installing the Reverse Proxy Modules, it will reads the package lists, state information, builds the dependency tree. If any packages are missing, the new packages will be installed. The screenshot shown below will explains the process of installation graphically.

kevells@corp:/#: cleopatra ApacheReverseProxyModules install
Install Apache Rev. Proxy Modules? (Y/N)
Y
*******************************
*        Pharaoh Tools        *
*         Apache Proxy Mods!        *
*******************************
Reading package lists...
Building dependency tree...
Reading state information...
The following NEW packages will be installed:
 libapache2-mod-proxy-html
0 upgraded, 1 newly installed, 0 to remove and 229 not upgraded.
Need to get 1,464 B of archives.
After this operation, 22.5 kB of additional disk space will be used.
Get:1 http://in.archive.ubuntu.com/ubuntu/ trusty-updates/universe libapache2-mod-proxy-html amd64 1:2.4.7-1ubuntu4.1 [1,464 B]
Fetched 1,464 B in 1s (1,323 B/s)
Selecting previously unselected package libapache2-mod-proxy-html.
(Reading database ... 181545 files and directories currently installed.)
Preparing to unpack .../libapache2-mod-proxy-html_1%3a2.4.7-1ubuntu4.1_amd64.deb ...
Unpacking libapache2-mod-proxy-html (1:2.4.7-1ubuntu4.1) ...
Setting up libapache2-mod-proxy-html (1:2.4.7-1ubuntu4.1) ...
[Pharaoh Logging] Adding Package libapache2-mod-proxy-html from the Packager Apt executed correctly
[Pharaoh Logging] Package libxml2-dev from the Packager Apt is already installed, so not installing
Creating /tmp/cleopatra-temp-script-49127207421.sh
chmod 755 /tmp/cleopatra-temp-script-49127207421.sh 2>/dev/null
Changing /tmp/cleopatra-temp-script-49127207421.sh Permissions
Executing /tmp/cleopatra-temp-script-49127207421.sh
Considering dependency proxy_balancer for lbmethod_byrequests:
Considering dependency proxy for proxy_balancer:
Enabling module proxy.
Considering dependency alias for proxy_balancer:
Module alias already enabled
Considering dependency slotmem_shm for proxy_balancer:
Enabling module slotmem_shm.
Enabling module proxy_balancer.
Enabling module lbmethod_byrequests.
To activate the new configuration, you need to run:
 service apache2 restart
Temp File /tmp/cleopatra-temp-script-49127207421.sh Removed
Creating /tmp/cleopatra-temp-script-12740464083.sh
chmod 755 /tmp/cleopatra-temp-script-12740464083.sh 2>/dev/null
Changing /tmp/cleopatra-temp-script-12740464083.sh Permissions
Executing /tmp/cleopatra-temp-script-12740464083.sh
Module proxy already enabled
Temp File /tmp/cleopatra-temp-script-12740464083.sh Removed
Creating /tmp/cleopatra-temp-script-61839737362.sh
chmod 755 /tmp/cleopatra-temp-script-61839737362.sh 2>/dev/null
Changing /tmp/cleopatra-temp-script-61839737362.sh Permissions
Executing /tmp/cleopatra-temp-script-61839737362.sh
Considering dependency proxy for proxy_http:
Module proxy already enabled
Enabling module proxy_http.
To activate the new configuration, you need to run:
 service apache2 restart
Temp File /tmp/cleopatra-temp-script-61839737362.sh Removed
Creating /tmp/cleopatra-temp-script-22752304452.sh
chmod 755 /tmp/cleopatra-temp-script-22752304452.sh 2>/dev/null
Changing /tmp/cleopatra-temp-script-22752304452.sh Permissions
Executing /tmp/cleopatra-temp-script-22752304452.sh
ERROR: Module mod_proxy_http does not exist!
Temp File /tmp/cleopatra-temp-script-22752304452.sh Removed
Creating /tmp/cleopatra-temp-script-19250932602.sh
chmod 755 /tmp/cleopatra-temp-script-19250932602.sh 2>/dev/null
Changing /tmp/cleopatra-temp-script-19250932602.sh Permissions
Executing /tmp/cleopatra-temp-script-19250932602.sh
Considering dependency proxy for proxy_ftp:
Module proxy already enabled
Enabling module proxy_ftp.
To activate the new configuration, you need to run:
 service apache2 restart
Temp File /tmp/cleopatra-temp-script-19250932602.sh Removed
Creating /tmp/cleopatra-temp-script-38556602379.sh
chmod 755 /tmp/cleopatra-temp-script-38556602379.sh 2>/dev/null
Changing /tmp/cleopatra-temp-script-38556602379.sh Permissions
Executing /tmp/cleopatra-temp-script-38556602379.sh
Considering dependency proxy for proxy_connect:
Module proxy already enabled
Enabling module proxy_connect.
To activate the new configuration, you need to run:
 service apache2 restart
Temp File /tmp/cleopatra-temp-script-38556602379.sh Removed
Creating /tmp/cleopatra-temp-script-85272088847.sh
chmod 755 /tmp/cleopatra-temp-script-85272088847.sh 2>/dev/null
Changing /tmp/cleopatra-temp-script-85272088847.sh Permissions
Executing /tmp/cleopatra-temp-script-85272088847.sh
Considering dependency proxy for proxy_ajp:
Module proxy already enabled
Enabling module proxy_ajp.
To activate the new configuration, you need to run:
 service apache2 restart
Temp File /tmp/cleopatra-temp-script-85272088847.sh Removed
Creating /tmp/cleopatra-temp-script-31029043648.sh
chmod 755 /tmp/cleopatra-temp-script-31029043648.sh 2>/dev/null
Changing /tmp/cleopatra-temp-script-31029043648.sh Permissions
Executing /tmp/cleopatra-temp-script-31029043648.sh
Considering dependency proxy for proxy_wstunnel:
Module proxy already enabled
Enabling module proxy_wstunnel.
To activate the new configuration, you need to run:
 service apache2 restart
Temp File /tmp/cleopatra-temp-script-31029043648.sh Removed
Creating /tmp/cleopatra-temp-script-2400353229.sh
chmod 755 /tmp/cleopatra-temp-script-2400353229.sh 2>/dev/null
Changing /tmp/cleopatra-temp-script-2400353229.sh Permissions
Executing /tmp/cleopatra-temp-script-2400353229.sh
Considering dependency proxy for proxy_balancer:
Module proxy already enabled
Considering dependency alias for proxy_balancer:
Module alias already enabled
Considering dependency slotmem_shm for proxy_balancer:
Module slotmem_shm already enabled
Module proxy_balancer already enabled
Temp File /tmp/cleopatra-temp-script-2400353229.sh Removed
Creating /tmp/cleopatra-temp-script-88564779807.sh
chmod 755 /tmp/cleopatra-temp-script-88564779807.sh 2>/dev/null
Changing /tmp/cleopatra-temp-script-88564779807.sh Permissions
Executing /tmp/cleopatra-temp-script-88564779807.sh
Enabling module cache.
To activate the new configuration, you need to run:
 service apache2 restart
Temp File /tmp/cleopatra-temp-script-88564779807.sh Removed
Creating /tmp/cleopatra-temp-script-68936090528.sh
chmod 755 /tmp/cleopatra-temp-script-68936090528.sh 2>/dev/null
Changing /tmp/cleopatra-temp-script-68936090528.sh Permissions
Executing /tmp/cleopatra-temp-script-68936090528.sh
Enabling module headers.
To activate the new configuration, you need to run:
 service apache2 restart
Temp File /tmp/cleopatra-temp-script-68936090528.sh Removed
[Pharaoh Logging] Restarting apache2 service
Output of config test was:
apache2: Syntax error on line 214 of /etc/apache2/apache2.conf: Could not open configuration file /etc/apache2/httpd.conf: No such file or dir ectory.
Action 'configtest' failed.
The Apache error log may have more information.
* Restarting web server apache2
  ...fail!
* The apache2 configtest failed.
... All done!
*******************************
Thanks for installing , visit www.pharaohtools.com for more
******************************


Single App Installer:
--------------------------------------------
ApacheReverseProxyModules: Success
------------------------------
Installer Finished
******************************

Benefits to the users

  • It displays the available package lists, and in turn installs the missing and required packages.
  • The reverse proxy forwards to a fixed destination on behalf of arbitrary clients.
  • It will incorporates the content that is hosted from one server into a larger website.
  • It helps in configuring the applications settings.
comments powered by Disqus

Edit this document!

This file can be edited directly through the Web. Anyone can update and fix errors in this document with few clicks -- no downloads needed.

  1. Go to Apache Reverse proxy modules on GitHub.
  2. Edit files using GitHub's text editor in your web browser (see the 'Edit' tab on the top right of the file)
  3. Fill in the Commit message text box at the bottom of the page describing why you made the changes. Press the Propose file change button next to it when done.
  4. Then click Send a pull request.
  5. Your changes are now queued for review under the project's Pull requests tab on GitHub!

For an introduction to the documentation format please see the reST primer.