The problem I have is this:
I would like to restrict certain file extenions in certain
directpries without htaccess, right from httpd.conf and looks like I failed to do so.
If I specify a rule for Referrer for php files then none of my php can be accessed from outside.
I use Apache 2.2 on...
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...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.