- 论坛徽章:
- 33
|
# Configuration and logfile names: If the filenames you specify for many
# of the server's control files begin with "/" (or "drive:/" for Win32), the
# server will use that explicit path. If the filenames do *not* begin
# with "/", the value of ServerRoot is prepended -- so 'log/access_log'
# with ServerRoot set to '/www' will be interpreted by the
# server as '/www/log/access_log', where as '/log/access_log' will be
# interpreted as '/log/access_log'.
[root@WLS1 conf]# grep -E "access_log|error_log" httpd.conf | grep -v "^ *#"
ErrorLog "logs/error_log"
CustomLog "logs/access_log" common
|
|