Using RewriteEngine or PHP to prevent users bypassing CMS
Posted: Thu Jul 05, 2007 11:28 am
I would like the prevent users from bypassing my CMS to look at the HTML files directly.
I want to force users to use PostNuke:
Example: http://domain/page.php?url=/directory/content.html
Then block users from simply entering:
http://domain/directory/content.html
How should I go about doing this?
Could there be some sort of slick RewriteEngine redirect or PHP option?
I want to force users to use PostNuke:
Example: http://domain/page.php?url=/directory/content.html
Then block users from simply entering:
http://domain/directory/content.html
How should I go about doing this?
Could there be some sort of slick RewriteEngine redirect or PHP option?