View Single Post
Old 02-14-2012, 09:00 AM   PM User | #3
tomharto
Regular Coder

 
Join Date: Jul 2010
Location: Sheffield
Posts: 795
Thanks: 91
Thanked 18 Times in 18 Posts
tomharto is on a distinguished road
Quote:
Originally Posted by abduraooft View Post
Code:
RewriteCond %{REQUEST_URI} ^/view/(.)*$ 
RewriteRule ^(.*)$ noaccess.php[L]
The rules written on htaccess do not affect access to a file via PHP code.
Sorry about the slow reply, i forgot to check this post , i just tried that and it didnt seem to do anything :/
tomharto is offline   Reply With Quote