ControlTier > elements
 

Apache

Manages an Apache HTTP server

Overview

Apache: Manages an Apache HTTP server

Design

Super Type
Service
Role Concrete. (Objects can be created.)
Instance Names Unique
Notification false
Template Directory
Data View Children, proximity: 2
Logger Name Apache

Constraints

Allowed Child Dependencies

1: These types have a Singleton constraint. Only one instance may be added as a resource.

Allowed Parent Dependencies

  • Node
  • Site

Attributes

Defaults for Imported Attributes

Name Default
ajpPort 8009
apacheReconfigure true
catalina_base /usr/local/tomcat
catalina_home /usr/local/tomcat
dispatchChangeDependencies false
documentRoot ${opts.install_root}/htdocs
httpPort 8180
loadmodule_jk modules/mod_jk.so
loadmodule_php modules/libphp4.so
serverAdmin you@example.com
serverName localhost

Commands

View the available commands in the User Reference.

Related Types

The following types are defined for use with Apache.

ApacheCgiBin

Overview

ApacheCgiBin: Apache CGI scripts directory

Design

Super Type
ApacheSetting
Role Concrete. (Objects can be created.)
Instance Names Unique

Constraints

Allowed Parent Dependencies

Attributes

Exported Attributes
Name Property
cgiBin settingValue

ApacheDocumentRoot

Overview

ApacheDocumentRoot: Directory from which httpd will serve files

Design

Super Type
ApacheSetting
Role Concrete. (Objects can be created.)
Instance Names Unique

Constraints

Allowed Parent Dependencies

Attributes

Exported Attributes
Name Property
documentRoot settingValue

ApacheErrorDir

Overview

ApacheErrorDir: Apache error handlers directory

Design

Super Type
ApacheSetting
Role Concrete. (Objects can be created.)
Instance Names Unique

Constraints

Allowed Parent Dependencies

Attributes

Exported Attributes
Name Property
errorDir settingValue

ApacheGroup

Overview

ApacheGroup: Apache run-as group

Design

Super Type
ApacheSetting
Role Concrete. (Objects can be created.)
Instance Names Unique

Constraints

Allowed Parent Dependencies

Attributes

Exported Attributes
Name Property
group settingValue

ApacheHttpPort

Overview

ApacheHttpPort: Apache listening port

Design

Super Type
ApacheSetting
Role Concrete. (Objects can be created.)
Instance Names Unique

Constraints

Allowed Parent Dependencies
Allowed Property Values
Property Allowed Values Default Enforced
settingValue
  • 80
false

Attributes

Exported Attributes
Name Property
httpPort settingValue

ApacheIconsDir

Overview

ApacheIconsDir: Apache icons directory

Design

Super Type
ApacheSetting
Role Concrete. (Objects can be created.)
Instance Names Unique

Constraints

Allowed Parent Dependencies

Attributes

Exported Attributes
Name Property
iconsDir settingValue

ApacheListen

Overview

ApacheListen: Apache listener settings

Design

Super Type
ApacheSetting
Role Concrete. (Objects can be created.)
Instance Names Unique

Constraints

Allowed Parent Dependencies

Attributes

Exported Attributes
Name Property
listen settingValue

ApacheLoadModuleJk

Overview

ApacheLoadModuleJk: Used by the LoadModule directive to link in the JK module. Filename is either an absolute path or relative to ServerRoot.

Design

Super Type
ApacheSetting
Role Concrete. (Objects can be created.)
Instance Names Unique

Constraints

Allowed Parent Dependencies
Allowed Property Values
Property Allowed Values Default Enforced
settingValue
  • modules/mod_jk.so
false

Attributes

Exported Attributes
Name Property
loadmodule_jk settingValue

ApacheLoadModulePhp

Overview

ApacheLoadModulePhp: Used by the LoadModule directive to link in the PHP module. Filename is either an absolute path or relative to ServerRoot.

Design

Super Type
ApacheSetting
Role Concrete. (Objects can be created.)
Instance Names Unique

Constraints

Allowed Parent Dependencies
Allowed Property Values
Property Allowed Values Default Enforced
settingValue
  • modules/libphp4.so
false

Attributes

Exported Attributes
Name Property
loadmodule_php settingValue

ApacheProxyAjpLocation

Overview

ApacheProxyAjpLocation: Apache mod_proxy_ajp Location to proxy to Tomcat

Design

Super Type
ApacheSetting
Role Concrete. (Objects can be created.)
Instance Names Unique

Constraints

Allowed Parent Dependencies

Attributes

Exported Attributes
Name Property
proxyAjpLocation settingValue

ApacheProxyAjpWebapp

Overview

ApacheProxyAjpWebapp: Apache mod_proxy_ajp Destination Tomcat Webapp

Design

Super Type
ApacheSetting
Role Concrete. (Objects can be created.)
Instance Names Unique

Constraints

Allowed Parent Dependencies

Attributes

Exported Attributes
Name Property
proxyAjpWebapp settingValue

ApacheReconfigure

Overview

ApacheReconfigure: determines whether to stop and start apache

Design

Super Type
ApacheSetting
Role Concrete. (Objects can be created.)
Instance Names Unique

Attributes

Exported Attributes
Name Property
apacheReconfigure settingValue

ApacheServerAdmin

Overview

ApacheServerAdmin: Email address of the web server administrator

Design

Super Type
ApacheSetting
Role Concrete. (Objects can be created.)
Instance Names Unique

Constraints

Allowed Parent Dependencies
Allowed Property Values
Property Allowed Values Default Enforced
settingValue
  • you@example.com
false

Attributes

Exported Attributes
Name Property
serverAdmin settingValue

ApacheServerName

Overview

ApacheServerName: The name or address the server uses to identify itself

Design

Super Type
ApacheSetting
Role Concrete. (Objects can be created.)
Instance Names Unique

Constraints

Allowed Parent Dependencies
Allowed Property Values
Property Allowed Values Default Enforced
settingValue
  • localhost
false

Attributes

Exported Attributes
Name Property
serverName settingValue

ApacheServerRoot

Overview

ApacheServerRoot: Directory from which httpd will serve files

Design

Super Type
ApacheSetting
Role Concrete. (Objects can be created.)
Instance Names Unique

Constraints

Allowed Parent Dependencies

Attributes

Exported Attributes
Name Property
serverRoot settingValue

ApacheSetting

Overview

ApacheSetting: An Apache configuration setting

Design

Super Type
Setting
Role Abstract. (Objects cannot be created.)
Instance Names Unique

ApacheUser

Overview

ApacheUser: Apache run-as user

Design

Super Type
ApacheSetting
Role Concrete. (Objects can be created.)
Instance Names Unique

Constraints

Allowed Parent Dependencies

Attributes

Exported Attributes
Name Property
user settingValue