Project

General

Profile

Frequently Asked Questions » History » Revision 2

Revision 1 (Pieter Libin, 10/29/2009 02:32 PM) → Revision 2/42 (Pieter Libin, 10/29/2009 02:33 PM)

h1. Frequently Asked Questions 

 {{toc}} 

 <pre> 
 $ openssl dhparam -check -text -5 512 -out dh512.pem 
 </pre> 

 Then start Wt using: 

 <pre> 
 $ ./app.wt --https-address=0.0.0.0 --ssl-certificate=server.pem --ssl-private-key=server.pem --ssl-tmp-dh=dh512.pem 
 </pre> 

 Provide the password at the prompt. 


 h3. Trouble shooting 


 h4. Q: My application crashes, and my apache error log shows no information. 

 There is a known problem with mod_fcgid: STDERR (including everything printed to std::cerr) is not 
 saved to the apache error log. 

 Wt uses STDERR by default for all error reporting. You can use a different log file in your wt_config.xml file (<log-file>). 

 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.