propellor-2.15.0: property-based host configuration management in haskell

Safe HaskellNone
LanguageHaskell98

Propellor.Property.Apache

Synopsis

Documentation

virtualHost :: HostName -> Port -> FilePath -> RevertableProperty NoInfo Source

A basic virtual host, publishing a directory, and logging to the combined apache log file.

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.

multiSSL :: Property NoInfo Source

Configure apache to use SNI to differentiate between https hosts.

This was off by default in apache 2.2.22. Newver versions enable it by default. This property uses the filename used by the old version.

allowAll :: String Source

Config file fragment that can be inserted into a Directory stanza to allow global read access to the directory.

Works with multiple versions of apache that have different ways to do it.