Why use mod_perl and not just mod_rewrite with soemthign like this:

RewriteCond %{REQUEST_FILENAME} -f RewriteRule ^/?(.+) /cgi-bin/index.py?page=$1 [L,PT]
So every incoming html page request to the web server should redirect to cgi-bin/index.py
Isn't it more easy?

My rule although seems correct thought aint working because when a request an html page a get its output instead of redirection

In reply to Re^4: From php to perl + template solution by Nik
in thread From php to perl + template solution by Nik

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":