Why 4 lines per request in Mac OSX apache access_log -


i have local virtualhost configured on macbook pro. (10.7.5) running default apache 2 , php 5.3.15.

i added test.php

<?php phpinfo(); ?> 

when access once via browser, 4 lines in access log show up:

127.0.0.1 - - [20/may/2013:19:15:10 -0700] "get /test.php http/1.1" 200 89145 127.0.0.1 - - [20/may/2013:19:15:10 -0700] "get /test.php?=phpe9568f34-d428-11d2-a769-00aa001acf42 http/1.1" 200 2524 127.0.0.1 - - [20/may/2013:19:15:10 -0700] "get /test.php?=suho8567f54-d428-14d2-a769-00da302a5f18 http/1.1" 200 2813 127.0.0.1 - - [20/may/2013:19:15:10 -0700] "get /test.php?=phpe9568f35-d428-11d2-a769-00aa001acf42 http/1.1" 200 2146 

why there 4 entries single request?

view page source in browser. i'm pretty sure you'll see things like:

<img border="0" src="/test.php?=phpe9568f34-d428-11d2-a769-00aa001acf42" alt="php logo" /> 

when browser sees in page, of course goes , fetches url server. suffix on url php easter egg makes server return php logo, displayed part of info page. other 2 suhosin , zend logos, used in phpinfo page.


Comments

Popular posts from this blog

blackberry 10 - how to add multiple markers on the google map just by url? -

php - guestbook returning database data to flash -

java - Using an Integer ArrayList in Android -