#1029: Throw exception if Apache's SERVER_SOFTWARE env var contains insufficient
version information
---------------------+------------------------------------------------------
Reporter: david | Owner: david
Type: task | Status: assigned
Priority: normal | Milestone: 0.11.7
Component: routing | Version: 0.11.6
Severity: normal | Keywords:
Has_patch: 0 |
---------------------+------------------------------------------------------
Old description:
> http://httpd.apache.org/docs/2.2/mod/core.html#servertokens allows
> changing the version info string. We need at least the min version; we
> will very likely need the micro version in the future.
>
> If people have a configuration where the directive is incorrect, the
> result may be messed up handling of incoming URLs in the routing, as
> Agavi needs to apply certain hacks depending on how miserable exactly the
> Apache version is. This is super hard to debug, and even harder to put
> into docs, or a WTF document or anything, because it's a very fuzzy error
> situation.
>
> So instead, we should throw an exception, asking people to
> * fix their server config, or
> * force a value for SERVER_SOFTWARE in index.php
New description:
http://httpd.apache.org/docs/2.2/mod/core.html#servertokens allows
changing the version info string. We need at least the Minor setting; we
will very likely need the Min[imal] setting in the future.
If people have a configuration where the directive is incorrect, the
result may be messed up handling of incoming URLs in the routing, as Agavi
needs to apply certain hacks depending on how miserable exactly the Apache
version is. This is super hard to debug, and even harder to put into docs,
or a WTF document or anything, because it's a very fuzzy error situation.
So instead, we should throw an exception, asking people to
* fix their server config, or
* force a value for SERVER_SOFTWARE in index.php
--
Comment(by david):
And nope, {{{apache_get_version()}}} doesn't help, either... gah
--
Ticket URL: <http://trac.agavi.org/ticket/1029#comment:2>
Agavi <http://www.agavi.org/>
An MVC Framework for PHP5
_______________________________________________
Agavi Tickets Mailing List
[email protected]
http://lists.agavi.org/mailman/listinfo/tickets