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

Require Alias and Context for *-APP commands #288

Merged
merged 1 commit into from
Oct 24, 2024

Conversation

jajik
Copy link
Collaborator

@jajik jajik commented Oct 9, 2024

@jajik jajik added the bug label Oct 9, 2024
@jajik jajik requested review from jfclere and removed request for jfclere October 9, 2024 16:03
@jajik jajik marked this pull request as draft October 10, 2024 08:01
@jajik
Copy link
Collaborator Author

jajik commented Oct 10, 2024

Converting to draft because it does make sense to have some APP commands global... have to sort it out...

@jajik jajik force-pushed the MODCLUSTER-832 branch 3 times, most recently from d80bab6 to ecbbd06 Compare October 10, 2024 14:15
@jajik jajik requested a review from jfclere October 10, 2024 14:16
@jajik
Copy link
Collaborator Author

jajik commented Oct 10, 2024

For the wildcarded APP commands we allow no Context and Alias, otherwise we require it.

native/mod_manager/mod_manager.c Outdated Show resolved Hide resolved
@rhusar
Copy link
Member

rhusar commented Oct 15, 2024

@jajik Can you remind me what are the implications of mod_proxy_cluster creating an empty Virtual Host (with empty Context and Alias)?

@jajik
Copy link
Collaborator Author

jajik commented Oct 15, 2024

@jajik Can you remind me what are the implications of mod_proxy_cluster creating an empty Virtual Host (with empty Context and Alias)?

I'm not sure now, but the current behaviour is equivalent to Context=/&Alias= which is invalid when specified explicitly. So it doesn't make sense to allow for this implicitly.

@jajik
Copy link
Collaborator Author

jajik commented Oct 24, 2024

@rhusar could you please remove your changes requested if there is nothing else?

@rhusar rhusar merged commit af80f75 into modcluster:main Oct 24, 2024
9 checks passed
@rhusar
Copy link
Member

rhusar commented Oct 24, 2024

Thanks @jajik and @jfclere

@jajik jajik deleted the MODCLUSTER-832 branch October 24, 2024 17:46
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