<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div><span>Senhores mongers, boa tarde</span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: 'times new roman', 'new york', times, serif; background-color: transparent; font-style: normal;"><span><br></span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: 'times new roman', 'new york', times, serif; background-color: transparent; font-style: normal;"><span>Surgiu uma dúvida em minha cachola.</span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: 'times new roman', 'new york', times, serif; background-color: transparent; font-style: normal;"><span>Existe alguma forma de subir um servidor http utilizando o Plack, e quando um determinada url for utilizada, ele redirecionar as requisições para o php-fpm (fastcgi)?</span></div><div style="color: rgb(0, 0, 0); font-size:
 16px; font-family: 'times new roman', 'new york', times, serif; background-color: transparent; font-style: normal;"><span>Alguém ai já fez isso ou tem alguma dica?</span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: 'times new roman', 'new york', times, serif; background-color: transparent; font-style: normal;"><span><br></span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: 'times new roman', 'new york', times, serif; background-color: transparent; font-style: normal;"><span>Estava vendo algo sobre Plack::App::FCGIDispatcher. Mas não consegui fazer ele rodar.</span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: 'times new roman', 'new york', times, serif; background-color: transparent; font-style: normal;"><span>Se alguém tiver um exemplo, seria muito bom.</span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: 'times new roman', 'new york', times, serif;
 background-color: transparent; font-style: normal;"><span>Lembrando que não estou usando arquivo .sock para me conectar, uso o hosted mode (127.0.0.1:9000 é onde o meu php-fpm está "escutando").</span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: 'times new roman', 'new york', times, serif; background-color: transparent; font-style: normal;"><span><br></span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: 'times new roman', 'new york', times, serif; background-color: transparent; font-style: normal;">Não quero usar nginx ou coisas do tipo.</div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: 'times new roman', 'new york', times, serif; background-color: transparent; font-style: normal;">Na verdade quero criar um script que faça algo como, scriptPerl up homologacao (inicia um servidor http na porta X que qndo alguém se conecta, ele envia requisições HTTP para o php-fpm utilizando os
 scripts da pasta homologacao)</div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: 'times new roman', 'new york', times, serif; background-color: transparent; font-style: normal;"><br></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: 'times new roman', 'new york', times, serif; background-color: transparent; font-style: normal;">Desde de já agradeço.</div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: 'times new roman', 'new york', times, serif; background-color: transparent; font-style: normal;"><br></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: 'times new roman', 'new york', times, serif; background-color: transparent; font-style: normal;">[]'s</div><div></div><div> </div><div>=pod</div><div style="color: rgb(0, 0, 0); font-size: 13px; font-family: arial, helvetica, clean, sans-serif; background-color: transparent; font-style: normal;">Rafael C. da Silveira</div><div
 style="color: rgb(0, 0, 0); font-size: 13px; font-family: arial, helvetica, clean, sans-serif; background-color: transparent; font-style: normal;"><span style="font-weight:bold;">Analista Desenvolvedor.</span></div><div style="color: rgb(0, 0, 0); font-size: 13px; background-color: transparent; font-style: normal; font-family: arial, helvetica, clean, sans-serif;"><a rel="nofollow" target="_blank" href="http://www.linkedin.com/profile/view?id=203095528" style="font-family: arial, helvetica, clean, sans-serif;">LinkedIn</a> - <a rel="nofollow" target="_blank" href="http://github.com/xshifty" style="font-family: arial, helvetica, clean, sans-serif;">Github</a> - <a rel="nofollow" target="_blank" href="http://rosalind.info/users/xshifty/">Rosalind.info</a></div><div style="color: rgb(0, 0, 0); font-size: 13px; background-color: transparent; font-style: normal; font-family: arial, helvetica, clean, sans-serif;">=cut</div>  </div></body></html>