Project

General

Profile

Actions

Installing Wt on Gentoo » History » Revision 22

« Previous | Revision 22/48 (diff) | Next »
Lawrence Whyte, 12/30/2011 01:58 PM


h2. Installing Wt

Wt is now in portage. See also:

More Resources:

[http://linkbuildingexperts.co.uk/link-building-services.html Links building company]
[http://link-building-service.info/ Best link building company]

[[http://3cardpokerrules.org/|3 card poker rules]]

h3. Deployment with wthttpd

Simply follow the instructions in the INSTALL file (with X the name of an example):

$ cd ../examples/X # source directory for example X
$ ../../build/examples/X/X.wt --docroot . --http-address 0.0.0.0 --http-port 8080

h3. Deployment with FastCGI

Modify /etc/init.d/apache2 to enable fastcgi:

APACHE2_OPTS="... -D FASTCGI"

Enable ExecCGI for the location where you wish to install the examples:

Options ExecCGI
Allow from All

To install a particular example:

cd build/examples/composer

./deploy.sh

Useful Links Below:

[[http://hackettandkane2010.org/ Olympic hockey]]
[[http://mmmagency.com/ Travel Agency]]
[[http://mommiecheapest.com/ Cheapest Car Insurance]]
[[http://myefaxchina.com/ Travel advisory]]
[[http://www.agafiarts.com/ Photography tips]]
[[http://www.myrankingstats.com/ Ranking stats]]
[[http://home-roofing.com/ Sports Betting]]
[[http://tastythought.com/ Sports games]]
[[http://www.usedpremiumcars.info/ Used cars online]]
[[http://www.bebohost.com/ Web Hosting Reviews]]

And list the path in /etc/apache2/modules.d/20_mod_fastcgi.conf:

FastCgiServer /var/www/localhost/htdocs/wt-examples/composer/composer.wt -idle-timeout 120 -processes 1

Finally, restart your apache, and check your log files for problems !

/etc/init.d/apache2 restart

Updated by Lawrence Whyte almost 13 years ago · 22 revisions