--- /dev/null
+<IfModule mod_fcgid.c>
+ NameVirtualHost *:80
+ # [+] For debugging.
+ FcgidMaxProcesses 30
+ # [-] For debugging.
+ <VirtualHost *:80>
+ # Add this servername into the /etc/hosts file.
+ ServerName www.testwtdbg.com
+ ServerAlias testwtdbg.com
+ DocumentRoot /var/www/testwtdbg/docroot
+ AddHandler fcgid-script wt
+ DirectoryIndex testwtdbg.wt
+ <Directory /var/www/testwtdbg/docroot>
+ Order Deny,Allow
+ Allow from all
+ Options +ExecCGI -Indexes
+ </Directory>
+ FcgidInitialEnv WT_APP_ROOT /var/www/testwtdbg/approot/
+
+ # [+] For debugging.
+ # Increase timeout of application process for debugging.
+ FcgidIOTimeout 300
+ FcgidConnectTimeout 300
+ # Reduce the number of processes spawned to 1 so that it is easy for debugging.
+ FcgidMaxProcessesPerClass 1
+ FcgidMinProcessesPerClass 1
+ # [-] For debugging.
+ </VirtualHost>
+</IfModule>