> How to setup http.conf file to redirect 'all requests' to a perl script except those requests requests for a dir

How to setup http.conf file to redirect 'all requests' to a perl script except those requests requests for a dir

Posted at: 2014-12-18 
I've got a perl script that screens http requests and only serves up a specific page when conditions are right. I need a way to bypass directory requests (as there is no need to present a pre-download "as-is" warranty page for any directory). How can I setup the conf file for this? (Apache 2.2 - I am trying to solve the issue where I cannot deliver directories.)