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

Throw an error if non-existing service is used in a VHOST line #17

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

eserte
Copy link

@eserte eserte commented Sep 6, 2012

Currently it is possible to assign a non-existing service to a VHOST line, e.g.

VHOST example.org = does_not_exist
VHOST * = my_service

A request to example.org will be silently handled by my_service here. I think that Perlbal should complain instead. Unfortunately it does not seem to be possible to complain while the configuration is parsed, because the service definition can be done after the vhosts definition. But it is possible to complain when the non-existent service is about to be used.

Regards,
Slaven

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant