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

Provide support for a default site if no header is provided #12

Open
ieugen opened this issue Sep 1, 2021 · 0 comments
Open

Provide support for a default site if no header is provided #12

ieugen opened this issue Sep 1, 2021 · 0 comments

Comments

@ieugen
Copy link
Contributor

ieugen commented Sep 1, 2021

It is my understanding that pcp-server implements a form of virtual webhosting where the site you want is supplied via a header.
Apps should send a header with the document root.
I believe a nice feature would be to provide a default website option.
When enabled and configured, it should allow for requests without a default website and use the one configured.

Side note: In http, the normal header for this case is Host: but not sure if this can be used here. It might be the case that this header is also configurable by the user ?!

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

No branches or pull requests

1 participant