Deny accss to a log file using .htaccess
I am trying to deny access to a logfile for paypal, and it seems it does not work to do so.
I have tried this:
<Files ~ "\.(log)$">
deny from all
I have also tried other similar, blocking only the particular file and nothing works.
It works fine in our cPanel test environment.
Can you verify whether it works properly under Apache by switching back to Apache temporarily? Just in case it is a configuration error.
If it works under apache, we will investigate.
I cant do that as I am just a hosted client.
I would have to ask my host. Not sure if related but sounds as it is to me: I found this post from august about error_log: http://www.litespeedtech.com/support...ead.php?t=5753
|All times are GMT -7. The time now is 10:36 PM.|