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

MODULES-1684: Specify mod_proxy_connect module for Apache >= 2.3.5 #987

Merged
merged 1 commit into from
Feb 6, 2015
Merged

Conversation

holser
Copy link

@holser holser commented Jan 20, 2015

mod_proxy_connect was moved to own module since Apache >= 2.3.5.
AllowConnect directive won't work without this module on Ubuntu 14.04 or
Debian 8.

mod_proxy_connect was moved to own module since Apache >= 2.3.5.
AllowCONNECT directive won't work without this module on Ubuntu 14.04 or
Debian 8.

Signed-off-by: Sergii Golovatiuk <[email protected]>
openstack-gerrit pushed a commit to openstack-archive/fuel-library that referenced this pull request Jan 22, 2015
AllowCONNECT directive is implemented by mod_proxy_connect since Apache 2.3.5
Therefore this module must be enabled before using the AllowCONNECT directive.
Otherwise apache refuses to start due to invalid configuration command.

blueprint support-ubuntu-trusty
Closes-Bug: #1412347

Puppet Labs Ticket: https://tickets.puppetlabs.com/browse/MODULES-1684
Pull Request: puppetlabs/puppetlabs-apache#987

Change-Id: I3777b328e919a0955639ded213fd314ad55d8146
Signed-off-by: Sergii Golovatiuk <[email protected]>
class apache::mod::proxy_connect (
$apache_version = $::apache::apache_version,
) {
if versioncmp($apache_version, '2.4') >= 0 {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i'm confused. this means we "succeed" to "load" this module?
shouldn't we fail here?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We shouldn't fail here. If we succeed then we should load module

igalic added a commit that referenced this pull request Feb 6, 2015
MODULES-1684: Specify mod_proxy_connect module for Apache >= 2.3.5
@igalic igalic merged commit 2f62ab1 into puppetlabs:master Feb 6, 2015
@igalic
Copy link
Contributor

igalic commented Feb 6, 2015

okay, thanks @holser!

@igalic
Copy link
Contributor

igalic commented Mar 20, 2015

@hunner just drew my attention to MODULES-1874 so i checked httpd's svn history, and, mod_proxy_connect has been around since 2005, and is|was definitely in 2.2.

we have to remove that whole if, and just load the module regardless.

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