Quote:
Originally Posted by NewGuy
Yes, that's why I wrote it. Honestly, what kind of question is that?
|
NO, I just thought that having access to generic expressions is a big step forward that can't be called as a "minor upgrade". It's a long awaited feature for those who need create conditional configurations. Just in case if you didn't see it yet :
http://httpd.apache.org/docs/2.4/expr.html
Try to create apache's configuration where you need to restrict access by business hours, IP/netmask. In apache22 it is a real PITA. The only tools - regex to compare with "
-ipmatch" binary operator in 2.4
Human readable expressions like
Code:
<If "%{HTTP_HOST} == 'example.com'">
Redirect permanent / http://www.example.com
</If>
to compare with
Code:
RewriteCond %{HTTP_HOST} ^example.com$ [NC]
RewriteRule ^(\/)?$ http://www.example.com [R=301,L]
(Well, of course it questionable. For those who use it for a long time it would be preferable second solution, but our developers was really happy with first solution)
Ability to use
Lua for configuration and business logic IMHO also is a huge step forward. It would be much easy to create Lua script instead of writing own module.
Ability to restrict allowed commands in
.htaccess by
AllowOverrideList
Finally, it is now possible to
Define variables in the HTTPD configuration.
There's a lot of new, long awaiting features, so I was curious when you call this as "minor upgrade".
Well, we all have different tasks, so dragon in my eyes is a fly in yours, so please do not take it as offense or sarcasm.