Project

General

Profile

libapache2-mod-fastcgi passing config.xml file

Added by Daniel Lier about 7 years ago

Hi,

for my project I need to run the WtApplication using apache with libapache2-mod-fastcgi. It's all running

well with the hello.wt example. But how do I manage (the deployment and ) passing e.g. the configuration.xml file.

That's my current fcgi conf for hello.tw:

/etc/apache2/mods-avaliable/fastcgi.conf

<IfModule mod_fastcgi.c>

AddHandler fastcgi-script .wt

#FastCgiWrapper /usr/lib/apache2/suexec

FastCgiIpcDir /var/lib/apache2/fastcgi

FastCgiConfig -idle-timeout 100 -maxClassProcesses 1 -initial-env WT_APP_ROOT=/tmp

FastCgiServer /var/www/html/hello.wt

Thanks for your help!

Daniel