#1265: Support for IIS7
-------------------------+--------------------------------------------------
 Reporter:  david        |        Owner:  david 
     Type:  enhancement  |       Status:  closed
 Priority:  normal       |    Milestone:  1.0.4 
Component:  request      |      Version:  1.0.3 
 Severity:  normal       |   Resolution:  fixed 
 Keywords:               |    Has_patch:  0     
-------------------------+--------------------------------------------------

Comment(by david):

 You also need to statically configure server ports (and, at least in
 production, server names) since the Azure load balancer does not pass them
 through correctly:
 {{{
 #!xml
 <ae:configuration environment="development-david" context="web">
         <request class="AgaviWebRequest">
                 <ae:parameter name="sources">
                         <!-- assuming you are running on port 81 since the
 default IIS web site is on port 80 -->
                         <!-- if you need a hostname other than
 "localhost", configure it using "SERVER_NAME" -->
                         <ae:parameter name="SERVER_PORT">81</ae:parameter>
                 </ae:parameter>
         </request>
 </ae:configuration>
 <ae:configuration environment="production" context="web">
         <request class="AgaviWebRequest">
                 <ae:parameter name="sources">
                         <ae:parameter
 name="SERVER_NAME">www.servername.com</ae:parameter>
                         <ae:parameter name="SERVER_PORT">80</ae:parameter>
                 </ae:parameter>
         </request>
 </ae:configuration>
 }}}

-- 
Ticket URL: <http://trac.agavi.org/ticket/1265#comment:7>
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