Renlok Posted April 30, 2009 Share Posted April 30, 2009 how would i go about making my site so no one could view files with the extensions .tpl and .log at the moment i have <files cron.log> order allow,deny deny from all </files> <files error.log> order allow,deny deny from all </files> but that only stops people viewing my log files i have about 200 template files and i dont want to have to each file individually. Quote Link to comment https://forums.phpfreaks.com/topic/156308-htaccess-file-question/ Share on other sites More sharing options...
Mchl Posted April 30, 2009 Share Posted April 30, 2009 http://httpd.apache.org/docs/2.2/mod/core.html#files Quote Link to comment https://forums.phpfreaks.com/topic/156308-htaccess-file-question/#findComment-822999 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.