#1029: Throw exception if Apache's SERVER_SOFTWARE env var contains insufficient
version information
---------------------+------------------------------------------------------
 Reporter:  david    |        Owner:  david 
     Type:  task     |       Status:  closed
 Priority:  normal   |    Milestone:  0.11.7
Component:  routing  |      Version:  0.11.6
 Severity:  normal   |   Resolution:  fixed 
 Keywords:           |    Has_patch:  0     
---------------------+------------------------------------------------------

Comment(by listm...@…):

 Fixed typos in the XML fragments

 Replying to [comment:4 david]:
 Example {{{app/config/factories.xml}}} for Agavi 0.11 (assuming the
 affected environment is called "production" and your Apache version is
 2.2.19):
 {{{
 #!xml
 <?xml version="1.0" encoding="UTF-8"?>
 <configurations xmlns="http://agavi.org/agavi/1.0/config";>

         <!-- ... -->

         <configuration context="web" environment="production">

                 <request class="AgaviWebRequest">
                         <parameter name="sources">
                                 <parameter
 name="SERVER_SOFTWARE">Apache/2.2.19</parameter>
                         </parameter>
                 </request>

         </configuration>

 </configurations>
 }}}

 Example {{{app/config/factories.xml}}} for Agavi 0.11 (assuming the
 affected environment is called "production" and your Apache version is
 2.2.19):
 {{{
 #!xml
 <?xml version="1.0" encoding="UTF-8"?>
 <ae:configurations
         xmlns="http://agavi.org/agavi/config/parts/factories/1.0";
         xmlns:ae="http://agavi.org/agavi/config/global/envelope/1.0";>

         <!-- ... -->

         <ae:configuration context="web" environment="production">

                 <request class="AgaviWebRequest">
                         <ae:parameter name="sources">
                                 <ae:parameter
 name="SERVER_SOFTWARE">Apache/2.2.19</ae:parameter>
                         </ae:parameter>
                 </request>

         </ae:configuration>

 </ae:configurations>
 }}}

-- 
Ticket URL: <http://trac.agavi.org/ticket/1029#comment:9>
Agavi <http://www.agavi.org/>
An MVC Framework for PHP5



_______________________________________________
Agavi Tickets Mailing List
[email protected]
http://lists.agavi.org/mailman/listinfo/tickets

Reply via email to