Skip to content

Commit

Permalink
Add FollowSymLinks option to cgi-bin directory on Apache (#669)
Browse files Browse the repository at this point in the history
This prevents running into AH00670 errors if a Rewrite rule is used elsewhere in
an apache configuration globally.

Signed-off-by: Lance Albertson <lance@osuosl.org>
  • Loading branch information
ramereth authored Apr 29, 2024
1 parent f71deed commit b17e54d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ This file is used to list changes made in each version of the nagios cookbook.

## Unreleased

- Add FollowSymLinks option to cgi-bin directory on Apache. This prevents running into AH00670 errors if a Rewrite rule
is used elsewhere in an apache configuration globally.

## 11.2.8 - *2024-04-29*

## 11.2.7 - *2024-04-29*
Expand Down
2 changes: 1 addition & 1 deletion templates/apache2.conf.erb
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
Alias /<%= node['nagios']['server']['vname'] %> <%= node['nagios']['docroot'] %>

<Directory "<%= node['nagios']['cgi-bin'] %>">
Options ExecCGI
Options ExecCGI FollowSymLinks
<% if node['nagios']['default_user_name'] -%>
require all granted
<% end -%>
Expand Down

0 comments on commit b17e54d

Please sign in to comment.