Wt with Apache
I am trying to get Wt application running on Apache web server by following the instructions mentioned here[[http://redmine.webtoolkit.eu/projects/wt/wiki/Wt_Apachemod_fcgidValgrindgdb+SELinux-_Deploy_and_Debug]]. I have remove contexts related to debug. Hence, my wt.conf looks like this.
# Add this servername into the /etc/hosts file.
AddHandler fcgid-script wt
Allow from all
Options +ExecCGI -Indexes
FcgidInitialEnv WT_APP_ROOT /var/www/testwt/approot/
The sample program is compiled as testwt.wt and been placed inside /var/www/testwt/approot/ while 'resources' is stored inside /var/www/testwt/docroot/
I have disabled selinux, created directory /var/run/wt with appropriate permissions and apache as owner & group. However, I am not getting anything to run. I have tried various urls:
Except for localhost, other urls show me '404 Not Found' error, while the former shows me a welcome page (Fedora Test Page). Tried to see the log file /etc/httpd/logs/error_log. No error shown there. Please guide me on what can be wrong at my end? I have Fedora 19 64 bit.
RE: Wt with Apache - Added by Rajeev Gajbhiye about 9 years ago
I am now able to get it running. Followed the instructions provided in the link http://redmine.webtoolkit.eu/projects/wt/wiki/Fastcgi_on_apache.
I observed that mod_fcgid wasn't already installed. Also, had to move testwt.wt to docroot.