Commit graph

8 commits

Author SHA1 Message Date
Jeff Geerling
f0499b207a PR #195 follow-up, fixes #224: Fix indentfirst argument. 2021-08-26 23:38:35 -05:00
Paul Gration
ea4f5da3a8 Fix vhosts extra_parameters indentation 2020-08-27 19:22:08 +01:00
maestrojed
b273bfb2c3 The documentroot paths for the vhosts were not encapsulated in quotes which would cause an apache error for paths with spaces or other restricted characters 2017-05-08 21:24:48 -04:00
Christoph Dittmann
b0d8061675 Make "AllowOverride" and "Options" configurable
This commit allows the user to change the "AllowOverride" and "Options"
directives of the documentroot directory for different vhosts.

The default values are "AllowOverride All" and "Options -Indexes
+FollowSymLinks" (see defaults/main.yml), so this commit is fully
backwards compatible.
2016-04-26 10:56:36 +02:00
Christoph Dittmann
ae3a1a6332 Merge the templates for 2.2 and 2.4
The only real difference between apache version 2.2 and 2.4 are the
"Order/Allow" directives which have been replaced with "Require", so
there seems to be no need to maintain two separate templates.

As a side-effect, this merges geerlingguy/ansible-role-apache#69 into
the apache 2.2 config.
2016-04-25 18:29:26 +02:00
Jeff Geerling
3a277cbff6 Issue #1: Add updated vhosts file for Apache 2.4. 2014-10-05 18:15:56 -05:00
Jeff Geerling
5cbf84a9a5 Make Apache role work correctly with both RHEL and Debian. 2014-04-22 07:34:37 -05:00
Jeff Geerling
ca82309c13 Add handlers, meta info, tasks, templates, and vars. 2014-02-28 16:23:24 -06:00