Enum HttpdOperatingSystemConfiguration
java.lang.Object
java.lang.Enum<HttpdOperatingSystemConfiguration>
com.aoindustries.aoserv.daemon.httpd.HttpdOperatingSystemConfiguration
- All Implemented Interfaces:
Serializable
,Comparable<HttpdOperatingSystemConfiguration>
Operating system-specific configurations.
- Author:
- AO Industries, Inc.
-
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionabstract PackageManager.PackageName
Gets the package to install when there is an alternate Aapche instance ornull
for none required.abstract PosixPath
Gets the AWStats bin directory.Gets the configuration directory used by AWStats.Gets the AWStats hosts directory.Gets the AWStats icon directory.abstract PackageManager.PackageName
Gets the package that should be installed for AWStats ornull
for not automatic package management.abstract PosixPath
Gets the main AWStats directory.abstract PackageManager.PackageName
Gets the package to install when there is a non-loopback and non-wildcard bind ornull
for none required.abstract PosixPath
Gets the directory that contains the shared tomcat directories.abstract String
Gets the relative path from CATALINA_HOME to /opt/ for the shared tomcat directories, including the trailing slash.abstract PosixPath
Gets the directory that contains the website directories.abstract String
Gets the relative path from CATALINA_HOME to /opt/ for the website directories, including the trailing slash.Gets the operating system configuration for this server, as determined by theAoservDaemon.getThisServer()
method.abstract String
Gets the type of Listen directive to use for Apache.abstract PackageManager.PackageName
Gets the package to install for mod_jk ornull
for none required.abstract OperatingSystemConfiguration
Gets the configuration for general tasks.abstract PosixPath
getPhpCgiPath
(String minorVersion) Gets the full path to the PHP CGI script for the provided PHP minor version.abstract boolean
Default to Apache prefork MPM (for older versions).abstract boolean
Is the Apache Protocols directive supported.Returns the enum constant of this type with the specified name.static HttpdOperatingSystemConfiguration[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
CENTOS_5_I686_AND_X86_64
-
CENTOS_7_X86_64
-
ROCKY_9_X86_64
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
getHttpOperatingSystemConfiguration
public static HttpdOperatingSystemConfiguration getHttpOperatingSystemConfiguration() throws IOException, SQLExceptionGets the operating system configuration for this server, as determined by theAoservDaemon.getThisServer()
method.- Throws:
IOException
SQLException
- See Also:
-
getOperatingSystemConfiguration
Gets the configuration for general tasks. -
getPhpCgiPath
Gets the full path to the PHP CGI script for the provided PHP minor version. -
getHttpdSitesDirectory
Gets the directory that contains the website directories. -
getHttpdSitesOptSlash
Gets the relative path from CATALINA_HOME to /opt/ for the website directories, including the trailing slash. -
getAwstatsConfigDirectory
Gets the configuration directory used by AWStats. -
getAwstatsPackageName
Gets the package that should be installed for AWStats ornull
for not automatic package management. -
getAwstatsVarDirectory
Gets the main AWStats directory. -
getAwstatsHostsDirectory
Gets the AWStats hosts directory. -
getAwstatsBinDirectory
Gets the AWStats bin directory. -
getAwstatsIconDirectory
Gets the AWStats icon directory. -
getListenDirective
Gets the type of Listen directive to use for Apache. -
getHttpdAfterNetworkOnlinePackageName
Gets the package to install when there is a non-loopback and non-wildcard bind ornull
for none required. -
getAlternateInstancePackageName
Gets the package to install when there is an alternate Aapche instance ornull
for none required. -
getModJkPackageName
Gets the package to install for mod_jk ornull
for none required. -
isApacheDefaultPrefork
public abstract boolean isApacheDefaultPrefork()Default to Apache prefork MPM (for older versions). When not the default, prefork is still selected when mod_php is enabled. -
isApacheProtocolsSupported
public abstract boolean isApacheProtocolsSupported()Is the Apache Protocols directive supported.
-