My fcgi app doesnt run unless I create /var/run/wt and give permissions
to www-data. In the apache error log it indicates that it reads the
correct <application-settings>, but then it complains it cannot
create /var/run/wt and the process times out.
That's on ubuntu karmic with the wt debian packages.
Is this a known problem? I would prefer to alter the general wt
configuration as few as possible for the package installation.
I'm in the process of packaging my application as a debian package, and
in the installation process, I add an <application-settings> tag
to /etc/wt/wt_config.xml :
<application-settings
location="/usr/share/flightpred/www_docroot/flightpred_web.fcgi">
<session-management>
<timeout>3600</timeout>
</session-management>
<connector-fcgi>
<run-directory>/var/run/flightpred</run-directory>
</connector-fcgi>
<max-request-size>5120</max-request-size>
<properties>
<property
name="google_api_key">ABQIAAAAWqrN5o4-ISwj0Up_depYvhS5xVgjcBp1Rg20t8xmBonmOp0fbBQ9c6aO458KNtGzpz2uUSlAczglvQ</property>
</properties>
</application-settings>
I know, it should be possible to specify a different wt_config.xml file,
where I could have my run-directory in the general config, at least for
wthttpd. But I don't know how to specify it for wtfcgi.
I would prefer that possibility, since I wouldn't have to
alter /etc/wt/wt_config.xml. Is this documented somewhere?
Rgds
Richard
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
witty-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/witty-interest