#807: Configuration variable substitution in environment attributes
----------------------------+-----------------------------------------------
 Reporter:  [EMAIL PROTECTED]  |        Owner:  david
     Type:  enhancement     |       Status:  new  
 Priority:  normal          |    Milestone:  1.0  
Component:  config          |      Version:       
 Severity:  normal          |   Resolution:       
 Keywords:                  |    Has_patch:  0    
----------------------------+-----------------------------------------------
Comment (by [EMAIL PROTECTED]):

 I'm currently developing a site consisting of multiple host name pointing
 to one "pub" directory. In the index.php there is a routine determing the
 correct "virtual host" from the given $_SERVER['SERVER_NAME'] variable. So
 'www.mydomain.de' is matched to environment "mydomain.production".

 So with the given %core.vhost% setting I can point to a config file for
 every vhost and it's not required to update the config file every time a
 virtual host is added.

 Well, I could also add the XInclude directive directly into the main
 configuration path but so the vhost specific settings won't get merged
 like when sourcing them out into an environment-specific configuration-
 tag.

 Hopefully I'm not thinking too complex. And hopefully you got my point :).

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

Reply via email to