⚲
Project
General
Profile
Sign in
Register
Home
Projects
Help
Search
:
Wt
All Projects
Wt
Overview
Activity
Roadmap
Issues
Wiki
Forums
Download (1.08 KB)
Support #2384
ยป wt_app_apache.conf
Vitaly Volochay
, 11/15/2013 09:55 AM
RewriteEngine
on
RewriteRule
^/
myapp
$ /
ProxyPreserveHost
On
ProxyRequests
On
ProxyVia
On
<
Proxy
*>
Order
allow
,
deny
Allow
from
all
</
Proxy
>
ProxyPass
/
myapp
/
http
://
localhost
:
10101
/
ProxyPassReverse
/
myapp
/
http
://
localhost
:
10101
/
<
IfModule
mod_fcgid
.
c
>
Listen
10101
NameVirtualHost
*:
10101
<
VirtualHost
*:
10101
>
IdleTimeout
3600
ProcessLifeTime
7200
IPCConnectTimeout
300
IPCCommTimeout
7200
BusyTimeout
300
DocumentRoot
/
var
/
www
/
myapp
/
docroot
/
AddHandler
fcgid
-
script
wt
DirectoryIndex
my_app
.
wt
<
Directory
/
var
/
www
/
myapp
/
docroot
>
Order
Deny
,
Allow
Allow
from
all
Options
+
ExecCGI
-
Indexes
</
Directory
>
RewriteEngine
on
RewriteCond
%{
DOCUMENT_ROOT
}%{
REQUEST_FILENAME
} !-
F
RewriteRule
^/(.*)$
http
://
localhost
:
10101
/
my_app
.
wt
/$
1
FcgidInitialEnv
WT_APP_ROOT
/
var
/
www
/
myapp
/
approot
/
</
VirtualHost
>
FcgidInitialEnv
DISPLAY
:
0
.
0
FcgidInitialEnv
HOME
%{
DOCUMENT_ROOT
}
SetEnv
MYAPP_CONF_PARAM
my_app
.
xml
</
IfModule
>
(1-1/1)
Loading...