I was hoping I can get some help on the following issue. I'm using a heavily modified version of phpBB2 to run an entire site, and am using an additional file (portal.php) to act as the true frontpage for the site.
Problem is, many people already use index.php for the frontpage, and this is causing some problems. My vision was to use mod_rewrite to alter these on the fly. Basically, to use two references as following:
RewriteEngine On RewriteRule ^viewcat.php(.*) /index.php$1 RewriteRule ^index.php(.*) /portal.php$1
The idea is that all references to index.php actually push to the portal.php file, and all references to viewcat.php actually push to the (real) index.php ...