Access log file remains empty

bogus

Active Member
#1
Hello,

I used the default installation (BTW, the htdocs files were not publicly readable, which conflicted with default security policy) and whereas the error log is correctly populated, the acces log desperatly remains empty. I can't find any way to fix it. Thanks for you answer.
 

mistwang

LiteSpeed Staff
#2
The default installation use seperate access log file for "example" virtual host at "lsws/DEFAULT/logs/access.log", if the access log configuration is changed to "use server log", then lsws/logs/access.log will be populated.
Can you please give more details about the "htdocs files" problem? Which file or directory is not readable?

Thanks.
 

bogus

Active Member
#3
Thank you and more detail about intalled files permissions

OK, thanks for the correct log location.

As for the install, all docs in DEFAULT/ where not readable by "others" (perms: -rw-r-----) and trying to view them would result in a 403 "Permission denied" error.

I fixed that with chmod -R o+r DEFAULT/*

Sincerely
 
Top