#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 |
---------------------+------------------------------------------------------
Description changed by david:
Old 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
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 http.conf, or
* override SERVER_SOFTWARE with a static value in factories.xml (that
should be possible, obviously), or
* force a value for SERVER_SOFTWARE in index.php
--
--
Ticket URL: <http://trac.agavi.bitxtender.net/ticket/1029#comment:3>
Agavi <http://www.agavi.org/>
An MVC Framework for PHP5
_______________________________________________
Agavi Tickets Mailing List
[email protected]
http://lists.agavi.org/mailman/listinfo/tickets