You were right, my firsts tests indicate that things are going well (i have to work more on it) with internal_redirect(). Simply i did not know the existence of these wonderful functions (methods). I have not understood why a Location header cannot work anyway, but i am fully happy with your help and this solution. Thanks a lot :D
>eps com estem wrote: >> Hi. >> I want to redirect to some uri one page. This can be accomplished easily in >> PerlTransHandler with $r-> uri($new_uri); >> My problem is that this uri needs to be parsed again with the same module >> responsible of >> that. This is, i have a web page parse by module X that has to redirect to another >> uri >> that has to pass again by module X at the same PerlTransHandler phase. >> >> So $r-> uri($new_uri); does not work because the new uri goes on after the >> PerlTransHandler phase, and it's not valid for me. >> None of this options has worked. What i am doing wrong? What i use in the past was >> a rude >> javascript printed in the web page that redirected automatically to the url. Now i >> want to >> use the modperl api to do it. >I'm afraid I don't fully understand what you are trying to do, but it sounds >as though $r->internal_redirect() is what you are after - it essentially >mimics a browser redirect, placing the new request through the entire >request cycle (including the PerlTransHandler) but without telling the >browser about it. >HTH >--Geoff --------------------------------------------------------- Vuelve la quiniela. Ahora puedes jugar online y hacerte millonario http://sorteos.ya.com Ya.com ADSL Router Wi-Fi: Sólo 29,90 €/mes + IVA*. Router + Antivirus y firewall ˇGratis! http://acceso.ya.com/adsl/256router -- Report problems: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html List etiquette: http://perl.apache.org/maillist/email-etiquette.html