Hey Richard, 2010/9/22 Richard Ulrich <[email protected]>: > Hi Koen, > > APP_ROOT sounds good. > Is it something big to add to wt_fcgi? > > Well, from the apache docs it looks like I can set environment variables > for the fcgi app. That was the first time I tried it...
It's in git. In fact, it seems that WT_CONFIG_XML was taken into account by the FastCGI module, contrary to what I said earlier. So now, $WT_CONFIG_XML is considered first, followed by $WT_APP_ROOT/wt_config.xml, followed by the default (/etc/wt/wt_config.xml). The $WT_APP_ROOT is also available in your application as WApplication::appRoot() and could be used to store all kinds of files which want to read but should not be deployed to your web server. This is how I configure FastCGI: FastCgiConfig -initial-env WT_APP_ROOT=/tmp Regards, koen ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev _______________________________________________ witty-interest mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/witty-interest
