ciber Posted June 23, 2010 Share Posted June 23, 2010 I have created a PHP application, which uses apache rewrite for the URLs, my problem is the rewritten urls are very similar to some of the files im using, is there a way to deny direct access to these files using htaccess? for example x.php, y.php and z.html Link to comment https://forums.phpfreaks.com/topic/205654-deny-access-for-specific-files/ Share on other sites More sharing options...
premiso Posted June 23, 2010 Share Posted June 23, 2010 http://www.garnetchaney.com/htaccess_tips_and_tricks.shtml Search for "Protecting Single File" on that page for examples. Link to comment https://forums.phpfreaks.com/topic/205654-deny-access-for-specific-files/#findComment-1076207 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.