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
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
Note
Commandline options displayed in square brackets "[]" are optional. If an option expects arguments, then angle brackets are shown after the option "<>". Any default value is shown within the brackets.
Prepare
builds the deployment objects
- Usage
-
Prepare
Workflow
- Install
- Stop
- Configure
Docs-Generate
generates all defined docs
- Usage
-
Docs-Generate [-apacheReconfigure <>] [-archivedir <${entity.instance.dir}/var>] [-documentRoot <>]
Options
|
Option
|
Description
|
|
apacheReconfigure
|
determines whether apache will be configured
|
|
archivedir
|
dir to store current output docs
|
|
documentRoot
|
apache doc root
|
assertServiceIsDown
checks if service is down
- Usage
-
assertServiceIsDown
assertServiceIsUp
checks if service is running
- Usage
-
assertServiceIsUp
startService
starts the service
- Usage
-
startService [-apache_bin] [-apacheReconfigure <>] [-basedir <>]
Options
|
Option
|
Description
|
|
apache_bin
|
apache bin install directory
|
|
apacheReconfigure
|
determines whether apache will be restarted
|
|
basedir
|
apache server base
|
stopService
stops the service
- Usage
-
stopService [-apacheReconfigure <>]
Options
|
Option
|
Description
|
|
apacheReconfigure
|
determines whether apache will be restarted
|
Related Types
The following types are defined for use with Apache.
ApacheSetting
Overview
ApacheSetting:
An Apache configuration setting
Design
- Super Type
- Setting
| Role |
Abstract. (Objects cannot be created.)
|
| Instance Names |
Unique
|
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 |
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 |
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 |
|
|
false |
Attributes
Exported Attributes
| Name |
Property |
|
httpPort
|
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 |
|
|
false |
Attributes
Exported Attributes
| Name |
Property |
|
serverName
|
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 |
|
|
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 |
|
|
false |
Attributes
Exported Attributes
| Name |
Property |
|
loadmodule_php
|
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 |
|
|
false |
Attributes
Exported Attributes
| Name |
Property |
|
serverAdmin
|
settingValue |