Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Manage default root directory access rights #1468

Merged
merged 1 commit into from
May 25, 2016
Merged

Manage default root directory access rights #1468

merged 1 commit into from
May 25, 2016

Conversation

smoeding
Copy link
Contributor

Currently the root directory setting in httpd.conf provides an open access policy. By default Apache has access to all directories on the host. In some cases it may be desirable to deny access by default and explicitly configure access rights to every resource.

This patch adds the boolean root_directory_secured parameter to the main class. Setting this parameter to true will add a Deny from all (Apache 2.2) or a Require all denied (Apache 2.4) directive to the Apache config for the root directory. Setting the parameter to false will leave out these directives. The parameter default is false to remain backwards compatible.

@DavidS
Copy link
Contributor

DavidS commented May 25, 2016

The travisci failure is unrelated to this change. Thanks very much for your contribution.

@DavidS DavidS merged commit 0e87316 into puppetlabs:master May 25, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants