Project

General

Profile

about Wt Deployment Using mod_fcgid?

Added by yu feng over 6 years ago

hi:

I Deploy hangman Using mod_fcgid,url is http://hangman.niunb.com ,

when play new game,always show "Loading..." ?how solve it?

---docroot ---approot ---resources-dir ,in apache mod_fcgid how use it?

my http.conf :

LoadModule fcgid_module lib64/httpd/modules/mod_fcgid.so

<IfModule mod_fcgid.c>

AddHandler fcgid-script .fcgi

SocketPath /var/run/wt/

IdleTimeout --1

ProcessLifeTime 36000

MaxProcessCount 10

DefaultMaxClassProcessCount 30

DefaultMinClassProcessCount 20



my http-vhost.conf:

<VirtualHost *:80>

ServerAdmin 343311471@qq.com

DocumentRoot "/opt/wt/lib/Wt/examples/hangman"

ServerName hangman.niunb.org

ServerAlias hangman.niunb.com

FcgidInitialEnv WT_APP_ROOT /opt/wt/lib/Wt/examples/hangman/

FcgidInitialEnv DOCUMENT_ROOT /opt/wt/lib/Wt/examples/hangman/



#Order Deny,Allow

Allow from all

# Enable CGIs to be executed

Options Indexes FollowSymLinks ExecCGI

DirectoryIndex hangman.fcgi

AllowOverride None

Require all granted



Replies (1)

RE: about Wt Deployment Using mod_fcgid? - Added by yu feng over 6 years ago

if I use this url http://hangman.niunb.com/hangman.fcgi,I play new game no problem.

why input http://hangman.niunb.com/ login ,play new game ,always show loding....

When I input hangman.niunb.com, I want to auto change http://hangman.niunb.com/hangman.fcgi,How can I configure in apache.

    (1-1/1)