Frequently Asked Questions

Version 2 (Pieter Libin, 10/29/2009 02:33 pm)

1 1
h1. Frequently Asked Questions
2 1
3 1
<pre>
4 1
$ openssl dhparam -check -text -5 512 -out dh512.pem
5 1
</pre>
6 1
7 1
Then start Wt using:
8 1
9 1
<pre>
10 1
$ ./app.wt --https-address=0.0.0.0 --ssl-certificate=server.pem --ssl-private-key=server.pem --ssl-tmp-dh=dh512.pem
11 1
</pre>
12 1
13 1
Provide the password at the prompt.
14 1
15 1
16 1
h3. Trouble shooting
17 1
18 1
19 1
h4. Q: My application crashes, and my apache error log shows no information.
20 1
21 1
There is a known problem with mod_fcgid: STDERR (including everything printed to std::cerr) is not
22 1
saved to the apache error log.
23 1
24 1
Wt uses STDERR by default for all error reporting. You can use a different log file in your wt_config.xml file (<log-file>).
25 1
26 1
You may also consider using mod_fastcgi or the built-in web server (wthttpd) during development. The latter is especially convenient for development as it allows you to start from within a debugger, or diagnose memory-related problems with valgrind.