I have been using the htpasswd generated in this question and it seemed to have been working well until recently.
Since yesterday, I am not able to access the newest file created in the folder ChatLogs
(named 10_07_2012.txt
). The server returns a 403 Forbidden error saying:
Forbidden
You don't have permission to access /ChatLogs/2012/07/10_07_2012.txt on this server.
I am still able to access older files(until 09 July, 2012
). At first I thought it might be because of file permissions, but they are the same as on other 9 files in the folder.
What could be the problem? Please Help.
EDIT
As per w3d's suggestion, I completely removed my htpasswd and htaccess files. Restarted the apache2 server(using service apache2 restart
) and I'm still getting the same 403 Forbidden error for all chatlogs created after 2012-07-10 00:00:00
.
The chatlog files are created/modified using Lua and PtokaX. The chatlogging script is similar to this one
root
for the files as well as folders. I am able to access09_07_2012.txt
in the same folder.