Safe Haskell | None |
---|---|
Language | Haskell98 |
- installed :: Property NoInfo
- restarted :: Property NoInfo
- reloaded :: Property NoInfo
- virtualHost :: HostName -> Port -> FilePath -> RevertableProperty
- type ConfigFile = [String]
- siteEnabled :: HostName -> ConfigFile -> RevertableProperty
- siteDisabled :: HostName -> Property NoInfo
- siteAvailable :: HostName -> ConfigFile -> Property NoInfo
- modEnabled :: String -> RevertableProperty
- listenPorts :: [Port] -> Property NoInfo
- siteCfg :: HostName -> [FilePath]
- multiSSL :: Property NoInfo
- allowAll :: String
Documentation
virtualHost :: HostName -> Port -> FilePath -> RevertableProperty Source
A basic virtual host, publishing a directory, and logging to the combined apache log file.
type ConfigFile = [String] Source
siteDisabled :: HostName -> Property NoInfo Source
siteAvailable :: HostName -> ConfigFile -> Property NoInfo Source
listenPorts :: [Port] -> Property NoInfo Source
Make apache listen on the specified ports.
Note that ports are also specified inside a site's config file, so that also needs to be changed.