initial fcgi dispatch code