# `CONSFIGURATOR.PROPERTY.APACHE`

## API reference

### General

#### Property: `APACHE:INSTALLED`

`(apache:installed)`

#### Property: `APACHE:RELOADED`

`(apache:reloaded)`

#### Property: `APACHE:MOD-ENABLED`

`(apache:mod-enabled name)`

#### Property: `APACHE:CONF-AVAILABLE`

`(apache:conf-available name config)`

#### Property: `APACHE:CONF-ENABLED`

`(apache:conf-enabled name &optional config)`

#### Property: `APACHE:SITE-AVAILABLE`

`(apache:site-available domain config)`

#### Property: `APACHE:SITE-ENABLED`

`(apache:site-enabled domain &optional config)`

#### Property: `APACHE:HTTPS-VHOST`

`(apache:https-vhost domain htdocs agree-tos &key aliases additional-config additional-config-https)`

Configure an HTTPS Apache virtual host using a Let’s Encrypt certificate. ALIASES are the values for ServerAlias entries; these must be specified separately for proper handling of the redirects from HTTP to HTTPS. Use of this property implies agreement with the Let’s Encrypt Subscriber Agreement; AGREE-TOS is an instance of LETS-ENCRYPT:AGREE-TOS. ADDITIONAL-CONFIG are additional lines to add to the Apache configuration for both the HTTP and HTTPS virtual hosts; ADDITIONAL-CONFIG-HTTPS are additional lines to be added only to the HTTPS virtual host.

Unapplying removes the Apache site config but leaves the certificate behind.

The current implementation does not install a certificate renewal hook to restart Apache.