Q: Access Log reports all visitors as from 127.0.0.1 or - -
4 weeks ago I reported Access Log reports all visitors as from 127.0.0.1 and the problem was solved by changing the line
CustomLog /var/log/apache2/access_log combinedvhost
to
CustomLog /var/log/apache2/access_log combinedvhostproxy
I even reported the bug to Apple who arrogantly classified it as of "No value"
Yesterday I upgraded to Server 5.0.15 (15S4033) just to discover that Apple once again had made some changes that rendered the previous fix impotent, but now all visitors even Googlebot, Bingbot, and Baiduspider etc. are now reported as - - their IP address is not showing at all
www.mywebsite.com - - [23/Oct/2015:12:39:32 +0300] "GET /news_files/6080eb452f1734bd8499adad3d4ae80e469-532.html HTTP/1.1" 200 14128 "-" "Mozilla/5.0 (compatible; Baiduspider/2.0; +http://www.baidu.com/search/spider.html)"
Basically, my choice is 127.0.0.1 or - -, which is not very useful when trying to identify the location of people who scan your site e.g.
(the IP 123.123.123.123 is a placeholder for my real IP)
122.123.123.123 - - [22/Oct/2015:14:28:32 +0300] "GET /muieblackcat HTTP/1.1" 404 271 "-" "-"
122.123.123.123 - - [22/Oct/2015:14:28:32 +0300] "GET /scripts/setup.php HTTP/1.1" 404 276 "-" "-"
122.123.123.123 - - [22/Oct/2015:14:28:33 +0300] "GET /admin/scripts/setup.php HTTP/1.1" 404 282 "-" "-"
122.123.123.123 - - [22/Oct/2015:14:28:34 +0300] "GET /admin/pma/scripts/setup.php HTTP/1.1" 404 286 "-" "-"
122.123.123.123 - - [22/Oct/2015:14:28:34 +0300] "GET /admin/phpmyadmin/scripts/setup.php HTTP/1.1" 404 293 "-" "-"
122.123.123.123 - - [22/Oct/2015:14:28:35 +0300] "GET /db/scripts/setup.php HTTP/1.1" 404 279 "-" "-"
122.123.123.123 - - [22/Oct/2015:14:28:35 +0300] "GET /dbadmin/scripts/setup.php HTTP/1.1" 404 284 "-" "-"
122.123.123.123 - - [22/Oct/2015:14:28:36 +0300] "GET /myadmin/scripts/setup.php HTTP/1.1" 404 284 "-" "-"
122.123.123.123 - - [22/Oct/2015:14:28:36 +0300] "GET /mysql/scripts/setup.php HTTP/1.1" 404 282 "-" "-"
122.123.123.123 - - [22/Oct/2015:14:28:37 +0300] "GET /mysqladmin/scripts/setup.php HTTP/1.1" 404 287 "-" "-"
122.123.123.123 - - [22/Oct/2015:14:28:37 +0300] "GET /typo3/phpmyadmin/scripts/setup.php HTTP/1.1" 404 293 "-" "-"
122.123.123.123 - - [22/Oct/2015:14:28:38 +0300] "GET /phpadmin/scripts/setup.php HTTP/1.1" 404 285 "-" "-"
122.123.123.123 - - [22/Oct/2015:14:28:38 +0300] "GET /phpMyAdmin/scripts/setup.php HTTP/1.1" 404 287 "-" "-"
122.123.123.123 - - [22/Oct/2015:14:28:38 +0300] "GET /phpmyadmin/scripts/setup.php HTTP/1.1" 404 287 "-" "-"
122.123.123.123 - - [22/Oct/2015:14:28:39 +0300] "GET /phpmyadmin1/scripts/setup.php HTTP/1.1" 404 288 "-" "-"
122.123.123.123 - - [22/Oct/2015:14:28:39 +0300] "GET /phpmyadmin2/scripts/setup.php HTTP/1.1" 404 288 "-" "-"
122.123.123.123 - - [22/Oct/2015:14:28:40 +0300] "GET /pma/scripts/setup.php HTTP/1.1" 404 280 "-" "-"
122.123.123.123 - - [22/Oct/2015:14:28:40 +0300] "GET /web/phpMyAdmin/scripts/setup.php HTTP/1.1" 404 291 "-" "-"
122.123.123.123 - - [22/Oct/2015:14:28:41 +0300] "GET /xampp/phpmyadmin/scripts/setup.php HTTP/1.1" 404 293 "-" "-"
122.123.123.123 - - [22/Oct/2015:14:28:41 +0300] "GET /web/scripts/setup.php HTTP/1.1" 404 280 "-" "-"
122.123.123.123 - - [22/Oct/2015:14:28:42 +0300] "GET /php-my-admin/scripts/setup.php HTTP/1.1" 404 289 "-" "-"
122.123.123.123 - - [22/Oct/2015:14:28:42 +0300] "GET /websql/scripts/setup.php HTTP/1.1" 404 283 "-" "-"
122.123.123.123 - - [22/Oct/2015:14:28:43 +0300] "GET /phpmyadmin/scripts/setup.php HTTP/1.1" 404 287 "-" "-"
122.123.123.123 - - [22/Oct/2015:14:28:43 +0300] "GET /phpMyAdmin/scripts/setup.php HTTP/1.1" 404 287 "-" "-"
122.123.123.123 - - [22/Oct/2015:14:28:44 +0300] "GET /phpMyAdmin-2/scripts/setup.php HTTP/1.1" 404 289 "-" "-"
122.123.123.123 - - [22/Oct/2015:14:28:45 +0300] "GET /php-my-admin/scripts/setup.php HTTP/1.1" 404 289 "-" "-"
122.123.123.123 - - [22/Oct/2015:14:28:45 +0300] "GET /phpMyAdmin-2.5.5/index.php HTTP/1.1" 404 285 "-" "-"
122.123.123.123 - - [22/Oct/2015:14:28:46 +0300] "GET /phpMyAdmin-2.5.5-pl1/index.php HTTP/1.1" 404 289 "-" "-"
122.123.123.123 - - [22/Oct/2015:14:28:46 +0300] "GET /phpMyAdmin/ HTTP/1.1" 404 270 "-" "-"
122.123.123.123 - - [22/Oct/2015:14:28:47 +0300] "GET /phpmyadmin/ HTTP/1.1" 404 270 "-" "-"
122.123.123.123 - - [22/Oct/2015:14:28:47 +0300] "GET /mysqladmin/ HTTP/1.1" 404 270 "-" "-"
122.123.123.123 - - [22/Oct/2015:14:28:48 +0300] "GET /scripts/setup.php HTTP/1.1" 404 276 "-" "-"
122.123.123.123 - - [22/Oct/2015:14:28:48 +0300] "GET /admin/scripts/setup.php HTTP/1.1" 404 282 "-" "-"
122.123.123.123 - - [22/Oct/2015:14:28:48 +0300] "GET /admin/pma/scripts/setup.php HTTP/1.1" 404 286 "-" "-"
122.123.123.123 - - [22/Oct/2015:14:28:49 +0300] "GET /admin/phpmyadmin/scripts/setup.php HTTP/1.1" 404 293 "-" "-"
122.123.123.123 - - [22/Oct/2015:14:28:49 +0300] "GET /db/scripts/setup.php HTTP/1.1" 404 279 "-" "-"
122.123.123.123 - - [22/Oct/2015:14:28:50 +0300] "GET /dbadmin/scripts/setup.php HTTP/1.1" 404 284 "-" "-"
122.123.123.123 - - [22/Oct/2015:14:28:50 +0300] "GET /myadmin/scripts/setup.php HTTP/1.1" 404 284 "-" "-"
122.123.123.123 - - [22/Oct/2015:14:28:51 +0300] "GET /mysql/scripts/setup.php HTTP/1.1" 404 282 "-" "-"
122.123.123.123 - - [22/Oct/2015:14:28:51 +0300] "GET /mysqladmin/scripts/setup.php HTTP/1.1" 404 287 "-" "-"
122.123.123.123 - - [22/Oct/2015:14:28:52 +0300] "GET /typo3/phpmyadmin/scripts/setup.php HTTP/1.1" 404 293 "-" "-"
122.123.123.123 - - [22/Oct/2015:14:28:52 +0300] "GET /phpadmin/scripts/setup.php HTTP/1.1" 404 285 "-" "-"
122.123.123.123 - - [22/Oct/2015:14:28:53 +0300] "GET /phpMyAdmin/scripts/setup.php HTTP/1.1" 404 287 "-" "-"
122.123.123.123 - - [22/Oct/2015:14:28:53 +0300] "GET /phpmyadmin/scripts/setup.php HTTP/1.1" 404 287 "-" "-"
122.123.123.123 - - [22/Oct/2015:14:28:54 +0300] "GET /phpmyadmin1/scripts/setup.php HTTP/1.1" 404 288 "-" "-"
122.123.123.123 - - [22/Oct/2015:14:28:54 +0300] "GET /phpmyadmin2/scripts/setup.php HTTP/1.1" 404 288 "-" "-"
122.123.123.123 - - [22/Oct/2015:14:28:55 +0300] "GET /pma/scripts/setup.php HTTP/1.1" 404 280 "-" "-"
122.123.123.123 - - [22/Oct/2015:14:28:55 +0300] "GET /web/phpMyAdmin/scripts/setup.php HTTP/1.1" 404 291 "-" "-"
122.123.123.123 - - [22/Oct/2015:14:28:56 +0300] "GET /xampp/phpmyadmin/scripts/setup.php HTTP/1.1" 404 293 "-" "-"
122.123.123.123 - - [22/Oct/2015:14:28:56 +0300] "GET /web/scripts/setup.php HTTP/1.1" 404 280 "-" "-"
122.123.123.123 - - [22/Oct/2015:14:28:56 +0300] "GET /php-my-admin/scripts/setup.php HTTP/1.1" 404 289 "-" "-"
122.123.123.123 - - [22/Oct/2015:14:28:57 +0300] "GET /websql/scripts/setup.php HTTP/1.1" 404 283 "-" "-"
122.123.123.123 - - [22/Oct/2015:14:28:57 +0300] "GET /phpmyadmin/scripts/setup.php HTTP/1.1" 404 287 "-" "-"
122.123.123.123 - - [22/Oct/2015:14:28:58 +0300] "GET /phpMyAdmin/scripts/setup.php HTTP/1.1" 404 287 "-" "-"
122.123.123.123 - - [22/Oct/2015:14:28:58 +0300] "GET /phpMyAdmin-2/scripts/setup.php HTTP/1.1" 404 289 "-" "-"
122.123.123.123 - - [22/Oct/2015:14:28:59 +0300] "GET /php-my-admin/scripts/setup.php HTTP/1.1" 404 289 "-" "-"
122.123.123.123 - - [22/Oct/2015:14:28:59 +0300] "GET /phpMyAdmin-2.2.3/scripts/setup.php HTTP/1.1" 404 293 "-" "-"
122.123.123.123 - - [22/Oct/2015:14:29:00 +0300] "GET /phpMyAdmin-2.2.6/scripts/setup.php HTTP/1.1" 404 293 "-" "-"
122.123.123.123 - - [22/Oct/2015:14:29:00 +0300] "GET /phpMyAdmin-2.5.1/scripts/setup.php HTTP/1.1" 404 293 "-" "-"
122.123.123.123 - - [22/Oct/2015:14:29:01 +0300] "GET /phpMyAdmin-2.5.4/scripts/setup.php HTTP/1.1" 404 293 "-" "-"
122.123.123.123 - - [22/Oct/2015:14:29:01 +0300] "GET /phpMyAdmin-2.5.5-rc1/scripts/setup.php HTTP/1.1" 404 297 "-" "-"
122.123.123.123 - - [22/Oct/2015:14:29:02 +0300] "GET /phpMyAdmin-2.5.5-rc2/scripts/setup.php HTTP/1.1" 404 297 "-" "-"
122.123.123.123 - - [22/Oct/2015:14:29:02 +0300] "GET /phpMyAdmin-2.5.5/scripts/setup.php HTTP/1.1" 404 293 "-" "-"
122.123.123.123 - - [22/Oct/2015:14:29:03 +0300] "GET /phpMyAdmin-2.5.5-pl1/scripts/setup.php HTTP/1.1" 404 297 "-" "-"
122.123.123.123 - - [22/Oct/2015:14:29:03 +0300] "GET /phpMyAdmin-2.5.6-rc1/scripts/setup.php HTTP/1.1" 404 297 "-" "-"
122.123.123.123 - - [22/Oct/2015:14:29:03 +0300] "GET /phpMyAdmin-2.5.6-rc2/scripts/setup.php HTTP/1.1" 404 297 "-" "-"
122.123.123.123 - - [22/Oct/2015:14:29:04 +0300] "GET /phpMyAdmin-2.5.6/scripts/setup.php HTTP/1.1" 404 293 "-" "-"
122.123.123.123 - - [22/Oct/2015:14:29:04 +0300] "GET /phpMyAdmin-2.5.7/scripts/setup.php HTTP/1.1" 404 293 "-" "-"
122.123.123.123 - - [22/Oct/2015:14:29:05 +0300] "GET /phpMyAdmin-2.5.7-pl1/scripts/setup.php HTTP/1.1" 404 297 "-" "-"
122.123.123.123 - - [22/Oct/2015:14:29:05 +0300] "GET /phpMyAdmin-2.6.0-alpha/scripts/setup.php HTTP/1.1" 404 299 "-" "-"
122.123.123.123 - - [22/Oct/2015:14:29:06 +0300] "GET /phpMyAdmin-2.6.0-alpha2/scripts/setup.php HTTP/1.1" 404 300 "-" "-"
122.123.123.123 - - [22/Oct/2015:14:29:06 +0300] "GET /phpMyAdmin-2.6.0-beta1/scripts/setup.php HTTP/1.1" 404 299 "-" "-"
122.123.123.123 - - [22/Oct/2015:14:29:06 +0300] "GET /phpMyAdmin-2.6.0-beta2/scripts/setup.php HTTP/1.1" 404 299 "-" "-"
122.123.123.123 - - [22/Oct/2015:14:29:07 +0300] "GET /phpMyAdmin-2.6.0-rc1/scripts/setup.php HTTP/1.1" 404 297 "-" "-"
122.123.123.123 - - [22/Oct/2015:14:29:07 +0300] "GET /phpMyAdmin-2.6.0-rc2/scripts/setup.php HTTP/1.1" 404 297 "-" "-"
122.123.123.123 - - [22/Oct/2015:14:29:08 +0300] "GET /phpMyAdmin-2.6.0-rc3/scripts/setup.php HTTP/1.1" 404 297 "-" "-"
122.123.123.123 - - [22/Oct/2015:14:29:08 +0300] "GET /phpMyAdmin-2.6.0/scripts/setup.php HTTP/1.1" 404 293 "-" "-"
122.123.123.123 - - [22/Oct/2015:14:29:09 +0300] "GET /phpMyAdmin-2.6.0-pl1/scripts/setup.php HTTP/1.1" 404 297 "-" "-"
122.123.123.123 - - [22/Oct/2015:14:29:09 +0300] "GET /phpMyAdmin-2.6.0-pl2/scripts/setup.php HTTP/1.1" 404 297 "-" "-"
122.123.123.123 - - [22/Oct/2015:14:29:10 +0300] "GET /phpMyAdmin-2.6.0-pl3/scripts/setup.php HTTP/1.1" 404 297 "-" "-"
122.123.123.123 - - [22/Oct/2015:14:29:10 +0300] "GET /phpMyAdmin-2.6.1-rc1/scripts/setup.php HTTP/1.1" 404 297 "-" "-"
122.123.123.123 - - [22/Oct/2015:14:29:11 +0300] "GET /phpMyAdmin-2.6.1-rc2/scripts/setup.php HTTP/1.1" 404 297 "-" "-"
122.123.123.123 - - [22/Oct/2015:14:29:11 +0300] "GET /phpMyAdmin-2.6.1/scripts/setup.php HTTP/1.1" 404 293 "-" "-"
122.123.123.123 - - [22/Oct/2015:14:29:12 +0300] "GET /phpMyAdmin-2.6.1-pl1/scripts/setup.php HTTP/1.1" 404 297 "-" "-"
122.123.123.123 - - [22/Oct/2015:14:29:12 +0300] "GET /phpMyAdmin-2.6.1-pl2/scripts/setup.php HTTP/1.1" 404 297 "-" "-"
122.123.123.123 - - [22/Oct/2015:14:29:12 +0300] "GET /phpMyAdmin-2.6.1-pl3/scripts/setup.php HTTP/1.1" 404 297 "-" "-"
122.123.123.123 - - [22/Oct/2015:14:29:13 +0300] "GET /phpMyAdmin-2.6.2-rc1/scripts/setup.php HTTP/1.1" 404 297 "-" "-"
122.123.123.123 - - [22/Oct/2015:14:29:13 +0300] "GET /phpMyAdmin-2.6.2-beta1/scripts/setup.php HTTP/1.1" 404 299 "-" "-"
122.123.123.123 - - [22/Oct/2015:14:29:14 +0300] "GET /phpMyAdmin-2.6.2-rc1/scripts/setup.php HTTP/1.1" 404 297 "-" "-"
122.123.123.123 - - [22/Oct/2015:14:29:14 +0300] "GET /phpMyAdmin-2.6.2/scripts/setup.php HTTP/1.1" 404 293 "-" "-"
122.123.123.123 - - [22/Oct/2015:14:29:15 +0300] "GET /phpMyAdmin-2.6.2-pl1/scripts/setup.php HTTP/1.1" 404 297 "-" "-"
122.123.123.123 - - [22/Oct/2015:14:29:15 +0300] "GET /phpMyAdmin-2.6.3/scripts/setup.php HTTP/1.1" 404 293 "-" "-"
122.123.123.123 - - [22/Oct/2015:14:29:16 +0300] "GET /phpMyAdmin-2.6.3-rc1/scripts/setup.php HTTP/1.1" 404 297 "-" "-"
122.123.123.123 - - [22/Oct/2015:14:29:16 +0300] "GET /phpMyAdmin-2.6.3/scripts/setup.php HTTP/1.1" 404 293 "-" "-"
122.123.123.123 - - [22/Oct/2015:14:29:17 +0300] "GET /phpMyAdmin-2.6.3-pl1/scripts/setup.php HTTP/1.1" 404 297 "-" "-"
122.123.123.123 - - [22/Oct/2015:14:29:17 +0300] "GET /phpMyAdmin-2.6.4-rc1/scripts/setup.php HTTP/1.1" 404 297 "-" "-"
122.123.123.123 - - [22/Oct/2015:14:29:18 +0300] "GET /phpMyAdmin-2.6.4-pl1/scripts/setup.php HTTP/1.1" 404 297 "-" "-"
122.123.123.123 - - [22/Oct/2015:14:29:18 +0300] "GET /phpMyAdmin-2.6.4-pl2/scripts/setup.php HTTP/1.1" 404 297 "-" "-"
122.123.123.123 - - [22/Oct/2015:14:29:18 +0300] "GET /phpMyAdmin-2.6.4-pl3/scripts/setup.php HTTP/1.1" 404 297 "-" "-"
122.123.123.123 - - [22/Oct/2015:14:29:19 +0300] "GET /phpMyAdmin-2.6.4-pl4/scripts/setup.php HTTP/1.1" 404 297 "-" "-"
122.123.123.123 - - [22/Oct/2015:14:29:19 +0300] "GET /phpMyAdmin-2.6.4/scripts/setup.php HTTP/1.1" 404 293 "-" "-"
122.123.123.123 - - [22/Oct/2015:14:29:20 +0300] "GET /phpMyAdmin-2.7.0-beta1/scripts/setup.php HTTP/1.1" 404 299 "-" "-"
122.123.123.123 - - [22/Oct/2015:14:29:20 +0300] "GET /phpMyAdmin-2.7.0-rc1/scripts/setup.php HTTP/1.1" 404 297 "-" "-"
122.123.123.123 - - [22/Oct/2015:14:29:21 +0300] "GET /phpMyAdmin-2.7.0-pl1/scripts/setup.php HTTP/1.1" 404 297 "-" "-"
122.123.123.123 - - [22/Oct/2015:14:29:21 +0300] "GET /phpMyAdmin-2.7.0-pl2/scripts/setup.php HTTP/1.1" 404 297 "-" "-"
122.123.123.123 - - [22/Oct/2015:14:29:22 +0300] "GET /phpMyAdmin-2.7.0/scripts/setup.php HTTP/1.1" 404 293 "-" "-"
122.123.123.123 - - [22/Oct/2015:14:29:22 +0300] "GET /phpMyAdmin-2.8.0-beta1/scripts/setup.php HTTP/1.1" 404 299 "-" "-"
122.123.123.123 - - [22/Oct/2015:14:29:23 +0300] "GET /phpMyAdmin-2.8.0-rc1/scripts/setup.php HTTP/1.1" 404 297 "-" "-"
122.123.123.123 - - [22/Oct/2015:14:29:23 +0300] "GET /phpMyAdmin-2.8.0-rc2/scripts/setup.php HTTP/1.1" 404 297 "-" "-"
122.123.123.123 - - [22/Oct/2015:14:29:24 +0300] "GET /phpMyAdmin-2.8.0/scripts/setup.php HTTP/1.1" 404 293 "-" "-"
122.123.123.123 - - [22/Oct/2015:14:29:24 +0300] "GET /phpMyAdmin-2.8.0.1/scripts/setup.php HTTP/1.1" 404 295 "-" "-"
122.123.123.123 - - [22/Oct/2015:14:29:25 +0300] "GET /phpMyAdmin-2.8.0.2/scripts/setup.php HTTP/1.1" 404 295 "-" "-"
122.123.123.123 - - [22/Oct/2015:14:29:25 +0300] "GET /phpMyAdmin-2.8.0.3/scripts/setup.php HTTP/1.1" 404 295 "-" "-"
122.123.123.123 - - [22/Oct/2015:14:29:26 +0300] "GET /phpMyAdmin-2.8.0.4/scripts/setup.php HTTP/1.1" 404 295 "-" "-"
122.123.123.123 - - [22/Oct/2015:14:29:26 +0300] "GET /phpMyAdmin-2.8.1-rc1/scripts/setup.php HTTP/1.1" 404 297 "-" "-"
122.123.123.123 - - [22/Oct/2015:14:29:27 +0300] "GET /phpMyAdmin-2.8.1/scripts/setup.php HTTP/1.1" 404 293 "-" "-"
122.123.123.123 - - [22/Oct/2015:14:29:27 +0300] "GET /phpMyAdmin-2.8.2/scripts/setup.php HTTP/1.1" 404 293 "-" "-"
122.123.123.123 - - [22/Oct/2015:14:29:27 +0300] "GET /sqlmanager/scripts/setup.php HTTP/1.1" 404 287 "-" "-"
122.123.123.123 - - [22/Oct/2015:14:29:28 +0300] "GET /mysqlmanager/scripts/setup.php HTTP/1.1" 404 289 "-" "-"
122.123.123.123 - - [22/Oct/2015:14:29:28 +0300] "GET /p/m/a/scripts/setup.php HTTP/1.1" 404 282 "-" "-"
122.123.123.123 - - [22/Oct/2015:14:29:29 +0300] "GET /PMA2005/scripts/setup.php HTTP/1.1" 404 284 "-" "-"
122.123.123.123 - - [22/Oct/2015:14:29:29 +0300] "GET /pma2005/scripts/setup.php HTTP/1.1" 404 284 "-" "-"
122.123.123.123 - - [22/Oct/2015:14:29:30 +0300] "GET /phpmanager/scripts/setup.php HTTP/1.1" 404 287 "-" "-"
122.123.123.123 - - [22/Oct/2015:14:29:30 +0300] "GET /php-myadmin/scripts/setup.php HTTP/1.1" 404 288 "-" "-"
122.123.123.123 - - [22/Oct/2015:14:29:31 +0300] "GET /phpmy-admin/scripts/setup.php HTTP/1.1" 404 288 "-" "-"
122.123.123.123 - - [22/Oct/2015:14:29:31 +0300] "GET /webadmin/scripts/setup.php HTTP/1.1" 404 285 "-" "-"
122.123.123.123 - - [22/Oct/2015:14:29:32 +0300] "GET /sqlweb/scripts/setup.php HTTP/1.1" 404 283 "-" "-"
122.123.123.123 - - [22/Oct/2015:14:29:32 +0300] "GET /websql/scripts/setup.php HTTP/1.1" 404 283 "-" "-"
122.123.123.123 - - [22/Oct/2015:14:29:32 +0300] "GET /webdb/scripts/setup.php HTTP/1.1" 404 282 "-" "-"
122.123.123.123 - - [22/Oct/2015:14:29:33 +0300] "GET /mysqladmin/scripts/setup.php HTTP/1.1" 404 287 "-" "-"
122.123.123.123 - - [22/Oct/2015:14:29:33 +0300] "GET /mysql-admin/scripts/setup.php HTTP/1.1" 404 288 "-" "-"
122.123.123.123 - - [22/Oct/2015:14:29:34 +0300] "GET /databaseadmin/scripts/setup.php HTTP/1.1" 404 290 "-" "-"
122.123.123.123 - - [22/Oct/2015:14:29:34 +0300] "GET /admm/scripts/setup.php HTTP/1.1" 404 281 "-" "-"
122.123.123.123 - - [22/Oct/2015:14:29:35 +0300] "GET /admn/scripts/setup.php HTTP/1.1" 404 281 "-" "-"
Any ideas?
Mac mini, OS X Server, 5.0.15 (15S4033)
Posted on Oct 23, 2015 3:23 AM
My apologies. I meant the Apache config file on Server. Which is this one:
/Library/Server/Web/Config/apache2/httpd_server_app.conf
Server does not use http.conf.
As always, make a backup of the file.
You can edit the line to something like this:
LogFormat "%{last-x-forwarded-host}e %{last-x-forwarded-for}e %a %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combinedvhostproxy
Or you can replace %{last-x-forwarded-for}e with %a. Like this:
LogFormat "%{last-x-forwarded-host}e %a %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combinedvhostproxy
Restart web services via the Server app UI after you've edited the file.
Posted on Oct 23, 2015 10:58 AM