Jump to content

.htaccess file question


Renlok

Recommended Posts

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.

Link to comment
https://forums.phpfreaks.com/topic/156308-htaccess-file-question/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.