Can someone explain what’s the benefit of enabling MultiViews by default for new Virtual Servers? Besides badly messing with the RewriteEngine directives.
I’ve been hours trying to find out why my RewriteRules failed miserably on Virtualmin, and neither GPT nor Gemini ever suggested to check this new MultiViews setting. By some kind of miracle, Copilot found the answer and provided the suggestion to disable such setting that interferes with the URL rewrite engine.
Please be aware that enabling by default every single new feature might not always be such a great idea. BTW, the option I did require to be enabled, short_open_tags in PHP, was of course disabled by default. I
I don’t know why it’s allowed by default. There are many things that made sense a decade or two ago, particularly with PHP applications, when a lot of these decisions were made, that maybe don’t make sense now. Nobody ever complained, so it’s never been revisited.
@Jamie@Ilia are y’all aware of any negative to removing MultiViews from the default Server Template AllowOverride options for Apache virtual hosts? Code is here: Code search results · GitHub
But, also AllowOverrideonly means that .htaccess can override that option. It does not mean it is enabled, by default. And, I’m not aware of any security implications to allowing users to override it.
If you’re having trouble with it, it means you enabled it in .htaccess, which isn’t something Virtualmin can really be blamed for.