I've been trying to figure out how I can set a .htaccess up so it will only be allowed to link to a few selected files.
IE.
index.php out.php signup.php and some other files should be allowed.
If someone is trying to enter the site through any other pages than the one that where approved they should be redirected to
www.domain.com/index.php even though the other file exist.
How is that possible?