PDA

View Full Version : Access log file remains empty


bogus
12-07-2003, 08:28 AM
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
12-07-2003, 12:23 PM
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
12-08-2003, 09:18 AM
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

mistwang
12-08-2003, 10:18 AM
Your umask must be set to something like 027, this problem will be addressed in next release.

Thanks.

bogus
12-08-2003, 10:26 AM
Yes, umask is paranoiac on servers.. :)