LoadModule fastcgi_module modules/mod_fastcgi.so FastCgiExternalServer "/var/www/html/fast-cgi-production" -host localhost:7878 ServerAdmin name@domain.com DocumentRoot /var/www/html ServerName domain.com ErrorDocument 404 /www.domain.com/fastcgi/demo/go_to.htm?page=greeting RedirectMatch permanent [/]$ http://www.domain.com/fastcgi/demo/go_to.htm?page=greeting Order allow,deny Allow from all Alias /fastcgi "/var/www/html/fast-cgi-production" SetHandler fastcgi-script Options ExecCGI Order allow,deny Allow from all Alias /personal "/var/www/html/production/personal" ServerAdmin name@domain.com DocumentRoot /var/www/html ServerName domain.com ErrorDocument 404 /www.domain.com/fastcgi/demo/go_to.htm?page=greeting RedirectMatch permanent [/]$ http://www.domain.com/fastcgi/demo/go_to.htm?page=greeting Order allow,deny Allow from all Alias /fastcgi "/var/www/html/fast-cgi-production" SetHandler fastcgi-script Options ExecCGI Order allow,deny Allow from all Alias /personal "/var/www/html/production/personal"