Hey Richard, 2010/8/31 Richard Ulrich <[email protected]>: > I'm still in the process of debianizing my application. So far, I had a > script that added my application settings to /etc/wt/wt_config.xml > I didn't really like that solution, as the file belongs to the libwt > package. > So, I found out that I can specify my own wt_config.xml file through the > environment variable WT_CONFIG_XML > Below is what I'm trying, but it still reads the settings > from /etc/wt/wt_config.xml. > It's more of an apache configuration question, but people here might > know how to do it propperly.
I went to look in the code, and, the WT_CONFIG_XML environment variable is only taken into account by the http connector. With the latest release we added the ISAPI connector which has the same problem w.r.t. finding a configuration file. We have come up with a better way to organize the deployment by having an appRoot() which is used for files that are used by an application but should not be available through the web server, such as XML resource bundles, data files, and also the configuration file. We now need to extend the FastCGI connector so that an appRoot() can be configured in some simple way. If it is in general possible to set environment variables for FastCGI then this is perhaps the way to specify this APP_ROOT ? Regards, koen ------------------------------------------------------------------------------ This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd _______________________________________________ witty-interest mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/witty-interest
