Enum HttpdOperatingSystemConfiguration

java.lang.Object
java.lang.Enum<HttpdOperatingSystemConfiguration>
com.aoindustries.aoserv.daemon.httpd.HttpdOperatingSystemConfiguration
All Implemented Interfaces:
Serializable, Comparable<HttpdOperatingSystemConfiguration>

public enum HttpdOperatingSystemConfiguration extends Enum<HttpdOperatingSystemConfiguration>
Operating system-specific configurations.
Author:
AO Industries, Inc.
  • Enum Constant Details

  • Method Details

    • values

      public static HttpdOperatingSystemConfiguration[] 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

      public static HttpdOperatingSystemConfiguration valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • getHttpOperatingSystemConfiguration

      public static HttpdOperatingSystemConfiguration getHttpOperatingSystemConfiguration() throws IOException, SQLException
      Gets the operating system configuration for this server, as determined by the AoservDaemon.getThisServer() method.
      Throws:
      IOException
      SQLException
      See Also:
    • getOperatingSystemConfiguration

      public abstract OperatingSystemConfiguration getOperatingSystemConfiguration()
      Gets the configuration for general tasks.
    • getPhpCgiPath

      public abstract PosixPath getPhpCgiPath(String minorVersion)
      Gets the full path to the PHP CGI script for the provided PHP minor version.
    • getHttpdSitesDirectory

      public abstract PosixPath getHttpdSitesDirectory()
      Gets the directory that contains the website directories.
    • getHttpdSitesOptSlash

      public abstract String getHttpdSitesOptSlash()
      Gets the relative path from CATALINA_HOME to /opt/ for the website directories, including the trailing slash.
    • getHttpdSharedTomcatsDirectory

      public abstract PosixPath getHttpdSharedTomcatsDirectory()
      Gets the directory that contains the shared tomcat directories.
    • getHttpdSharedTomcatsOptSlash

      public abstract String getHttpdSharedTomcatsOptSlash()
      Gets the relative path from CATALINA_HOME to /opt/ for the shared tomcat directories, including the trailing slash.
    • getAwstatsConfigDirectory

      public PosixPath getAwstatsConfigDirectory()
      Gets the configuration directory used by AWStats.
    • getAwstatsPackageName

      public abstract PackageManager.PackageName getAwstatsPackageName()
      Gets the package that should be installed for AWStats or null for not automatic package management.
    • getAwstatsVarDirectory

      public abstract PosixPath getAwstatsVarDirectory()
      Gets the main AWStats directory.
    • getAwstatsHostsDirectory

      public PosixPath getAwstatsHostsDirectory()
      Gets the AWStats hosts directory.
    • getAwstatsBinDirectory

      public abstract PosixPath getAwstatsBinDirectory()
      Gets the AWStats bin directory.
    • getAwstatsIconDirectory

      public PosixPath getAwstatsIconDirectory()
      Gets the AWStats icon directory.
    • getListenDirective

      public abstract String getListenDirective()
      Gets the type of Listen directive to use for Apache.
    • getHttpdAfterNetworkOnlinePackageName

      public abstract PackageManager.PackageName getHttpdAfterNetworkOnlinePackageName()
      Gets the package to install when there is a non-loopback and non-wildcard bind or null for none required.
    • getAlternateInstancePackageName

      public abstract PackageManager.PackageName getAlternateInstancePackageName()
      Gets the package to install when there is an alternate Aapche instance or null for none required.
    • getModJkPackageName

      public abstract PackageManager.PackageName getModJkPackageName()
      Gets the package to install for mod_jk or null 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.