Hacker News new | ask | show | jobs
by throw0101c 18 days ago
> I would say that's actually a misfeature as it requires too many additional filesystem lookups to fulfil requests.

Its use is optional: set "AllowOverride None" (the default) and it's disabled.

* https://httpd.apache.org/docs/2.4/mod/core.html#allowoverrid...

1 comments

But then that removes the "feature Apache has that no other webserver does" and brings back GGP's point about "what does Apache offer over other webservers like nginx"
> But then that removes the "feature Apache has that no other webserver does" […]

Disabling the feature does not remove it.

If I do not turn on my car's windshield wipers, do they get "removed"?

But, if we concede that it's a misfeature (and that it's not valid to criticize the project for having it, as it can be disabled), then what advantage is there in having it?

You can't have it both ways. Either it's a misfeature but it 'doesn't matter' because it can be disabled, or its a legitimate feature in which case you must therefore defend the existence and purpose of the feature.

When you need (or want) it, you turn it on and accept a few more filesystem look ups, in exchange for convenience and not having to edit the main config.

When you don't need it, great, you've got slightly better performance.

> But, if we concede that it's a misfeature […]

Why would this be conceded?

> Either it's a misfeature but it 'doesn't matter' because it can be disabled, or its a legitimate feature in which case you must therefore defend the existence and purpose of the feature.

Just because I don't (currently) use it doesn't preclude someone else from doing so, and if that someone else wants to explain their use-case that's their prerogative.

But you can selectively use the option: allowing the feature where it is useful (user web dirs perhaps, or individual dirs even more selectively) and disabling it elsewhere.