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

setting options-hash in proxy_pass or proxy_match leads to syntax errors in Apache #1444

Merged
merged 1 commit into from
May 7, 2016

Conversation

zivis
Copy link
Contributor

@zivis zivis commented Apr 26, 2016

Revert "MODULES-2956: Enable options within location block on proxy_match"

this commit removes the location directive in _proxy.erb
proxy: remove workaround for old broken clients
99add11

this commit sets options in the location directive in _proxy.erb
MODULES-2956: Enable options within location block on proxy_match
db5b0bf

setting options-hash in proxy_pass or proxy_match now leads to syntax errors
in Apache like "AuthBasicProvider not allowed here"

@zivis zivis force-pushed the no_more_location_block_in_proxy branch from 2475706 to b9c9677 Compare April 26, 2016 10:45
…atch"

this commit removes the location directive in _proxy.erb
proxy: remove workaround for old broken clients
99add11

this commit sets options in the location directive in _proxy.erb
MODULES-2956: Enable options within location block on proxy_match
db5b0bf

setting options-hash in proxy_pass or proxy_match now leads to syntax errors
in Apache like "AuthBasicProvider not allowed here"
@zivis zivis force-pushed the no_more_location_block_in_proxy branch from b9c9677 to 4cd01b3 Compare April 26, 2016 11:09
@bmjen
Copy link
Contributor

bmjen commented May 4, 2016

/cc @igalic Can we get your expertise here. Did the PRs described break functionality?

@antaflos
Copy link
Contributor

antaflos commented May 4, 2016

Just to chime in here, reverting db5b0bf definitely seems like the right thing to do. It apparently was a crutch to work around the suboptimal behaviour of _proxy.erb.

But now that _proxy.erb no longer implements that ancient workaround of putting ProxyPassReverse inside its own Location directive there is really neither need nor use in trying to define options that are only valid inside a Location or Directory context. The options functionality for proxy_pass can be scrapped entirely.

Any options such as AuthBasicProvider, AuthType, Require, ... are supported by the apache::vhost::directories parameter, where they belong.

@igalic igalic merged commit bc28f98 into puppetlabs:master May 7, 2016
@igalic
Copy link
Contributor

igalic commented May 7, 2016

👍 thanks, @antaflos for jumping in

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.

5 participants