【发布时间】:2014-06-04 17:27:29
【问题描述】:
我已在 apache 配置中使用以下行配置了我的 phpMyAdmin 网站:
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" %{userID}n %{userStatus}n" pma_combined
ErrorLog /srv/wwwroot/phpMyAdmin/logs/errors.log
CustomLog /srv/wwwroot/phpMyAdmin/logs/access.log pma_combined
但我的 apache 日志从不显示 userID 或 userStatus:
127.0.0.1 - - [...] "GET /index.php?token=... HTTP/1.1" 200 5200 "https://example.com/index.php?token=..." "Mozilla/(...)" - -
我的 phpMyAdmin 配置包含:
$cfg['Servers'][$i]['auth_type'] = 'cookie';
我的配置有什么问题?
【问题讨论】:
标签: apache phpmyadmin