Before I try and spend ages to try and figure this out I thought Id ask first.
My website uses index.php as the main page, all other pages are loaded in via ajax into divs on the main index.php page.
Is it possible using RewriteEngine to block access to everything (including images and php scripts) apart from if called from index.php
Can anyone advise, before I spend ages trying to figure this out?