]> Creatis software - creaWT.git/blob - wt/data/infoConf_server_fcgi/fastcgi-wt.conf
#Fast CGI configuration
[creaWT.git] / wt / data / infoConf_server_fcgi / fastcgi-wt.conf
1 <IfModule mod_fcgid.c>
2     NameVirtualHost *:80
3     # [+] For debugging.
4     FcgidMaxProcesses 30
5     # [-] For debugging.
6     <VirtualHost *:80>
7         # Add this servername into the /etc/hosts file.
8         ServerName www.testwtdbg.com
9         ServerAlias testwtdbg.com
10         DocumentRoot /var/www/testwtdbg/docroot
11         AddHandler fcgid-script wt
12         DirectoryIndex testwtdbg.wt
13         <Directory /var/www/testwtdbg/docroot>
14             Order Deny,Allow
15             Allow from all
16             Options +ExecCGI -Indexes
17         </Directory>
18         FcgidInitialEnv WT_APP_ROOT /var/www/testwtdbg/approot/
19
20         # [+] For debugging.
21         # Increase timeout of application process for debugging.
22         FcgidIOTimeout 300
23         FcgidConnectTimeout 300
24         # Reduce the number of processes spawned to 1 so that it is easy for debugging.
25         FcgidMaxProcessesPerClass 1
26         FcgidMinProcessesPerClass 1
27         # [-] For debugging.
28     </VirtualHost>
29 </IfModule>