iavian has asked for the wisdom of the Perl Monks concerning the following question:

I have a mod_perl apache handler that either returns OK or redirects to login page.

redirection works fine
but when it returns OK , it doesn't continue parsing the actual requested file

Request -> http://localhost/index.php
Handler checks for username cookie
redirect if no cookie is available
Continue serving index.php if cookie is already available - I'm unable to achieve this

Please let me know if I'm missing anything