Open shyim opened 5 years ago
Sounds interesting. This should be archived without hurting usability too much.
Maybe you can split the locations checks into separate include files that can be referenced inside shopware.conf
.
Please not that I am not able to test this configuration by myself but I will trust PRs from Shopware Folks like @shyim.
If I don't find any obvious errors or usability errors in a Pull Request regarding this topic I am willing to merge.
You are proposing the sane way of configuring a web application server. The idea is great. My concern is that it will not be semantically the same as the supported Apache configuration. This kills the assumptions plugin developers and others might make about the environment. Therefore I think this change should be driven from upstream.
hi! good ideas, but I see downsides with an error controller.
I had the idea of a Hardened Configuration what covers things like
return 404
and rewrite to error controller, to have the same look and feel on blocked resourcesWhat do you think about that? :)