-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
apache::vhost ProxyPassMatch in Location containers #2222
apache::vhost ProxyPassMatch in Location containers #2222
Conversation
…tead of ProxyPass if it is detected
@skylar2-uw Hey, it look's like you've got some syntax error's that where on the main branch, these have been sorted now so if you rebase it should remove them. |
It already uses the apache24 package and service names. This aligns the values.
This was dropped in December 2019[1] and thus has no use anymore. [1]: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=872597ae0890e11ac15718f655935f1b0c9e0dbd gentoo/gentoo@872597a
See issue for more information: https://github.com/puppetlabs/iac/issues/336
This takes the approach of listing the disabling steps once rather than repeating it for every mpm. I wasn't quite sure on the prefork disabling. Does prefork need to stay enabled for itk?
It's safe to assume the version is >= 2.2 so the conditional can be dropped.
The latest passenger include a new option to load ruby bundles earlier, working around deployment issues. See: * phusion/passenger#2410 * phusion/passenger#2409
This adds support for the GssapiBasicAuth setting which allows to fall back to basic auth if NEGOTIATE fails.
…m:uwgsit/puppetlabs-apache into apache_vhost_proxy_pass_match_directories
|
@david22swan Thanks for the heads-up and taking care of the fix, I've got our forked repo updated. |
@skylar2-uw Hey, thx for getting the rebase done so fast, anyway look's like it has uncovered some failures in the spec test's. |
@david22swan Sorry for the delay, was trying to get |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@skylar2-uw Yeh that fixed it :)
Anyway, everything looks good to me so I'm gonna go ahead and merge.
Thank's for putting in the work :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@skylar2-uw Yeh that fixed it :)
Anyway, everything looks good to me so I'm gonna go ahead and merge.
Thank's for putting in the work :)
Apache httpd supports placing
ProxyPass
andProxyPassMatch
directives either at virtual host scope, or inside aLocation
/LocationMatch
container. When placed inside a container, the path parameter is omitted and inherited from the container's path. ForLocation
containers, this is a simple URI, whileLocationMatch
allows the path to be regex. WhileProxyPass
can go into aLocationMatch
container, the inherited path is interpreted as a string rather than a regex, which limits its utility.While the puppetlabs-apache module (via its
apache::vhost
type) supports bothProxyPass
andProxyPassMatch
at virtual host scope, currently it only supportsProxyPass
inside aLocation
/LocationMatch
container, which means that it isn't possible to use the regex-awareLocationMatch
container type. This pull request enhances thevhost/_directories.erb
template to support the sameproxy_pass_match
dictionary atLocation
/LocationMatch
scope thatapache::vhost
type supports at virtual host scope.I couldn't find any documentation for the existing
ProxyPass
support inapache::vhost
'sdirectories
array, so I added a short blurb to theapache::vhost
Puppet Strings.I added what I thought would be a decent simple test case, though I confess I'm not a rspec expert so it might bear special review.