I need to allow access to only certain files *_notsecure.php in the root redirectory and have them use all other files on the site. I do not want to let ohter files be served directly, only fron these *_notsecure.php.
I setup environment variable based on local Referer.
How can deny access to all files but 3 special ones once in the root directory. I tried <Directory>, <DirectoryMatch>, <Files> and <FileMatch> - nothing works. As soom as I deny access to the DocumentRoot I cannot see any files at all, as soon as I allow access I can see files in the subdirectories.
Please help.
Dan
I setup environment variable based on local Referer.
How can deny access to all files but 3 special ones once in the root directory. I tried <Directory>, <DirectoryMatch>, <Files> and <FileMatch> - nothing works. As soom as I deny access to the DocumentRoot I cannot see any files at all, as soon as I allow access I can see files in the subdirectories.
Please help.
Dan