LiteSpeed Support Forums

LiteSpeed Support Forums (http://www.litespeedtech.com/support/forum/index.php)
-   General (http://www.litespeedtech.com/support/forum/forumdisplay.php?f=25)
-   -   Deny accss to a log file using .htaccess (http://www.litespeedtech.com/support/forum/showthread.php?t=6432)

helenp 12-08-2012 10:06 AM

Deny accss to a log file using .htaccess
 
Hi,
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)$">
order allow,deny
deny from all
</Files>
I have also tried other similar, blocking only the particular file and nothing works.
Thanks

mistwang 12-08-2012 06:31 PM

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.

helenp 12-09-2012 02:29 AM

Quote:

Originally Posted by mistwang (Post 38524)
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.

Dear mistwang,
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.