How many iPhone Visitors have you had?
I was curious if anyone was using an iPhone to read my blog yet, I'm sure before too long we will all be optimizing our sites for 3.5" displays. To find out I did a little
grep on my Apache log file and piped it to
wc to count the number of matches:
fgrep 'iPhone;' access.log | wc -l
So far 370 hits including images, to take out requests for images I added:
fgrep 'iPhone;' access.log | fgrep --invert-match images | wc -l
That yields 106 requests, hello iPhone readers...
BTW the user agent for the iPhone looks like this:
Mozilla/5.0 (iPhone; U; CPU like Mac OS X; en) AppleWebKit/420+ (KHTML, like Gecko) Version/3.0 Mobile/1A543a Safari/419.3
- The 15 Essential UNIX commands - July 29, 2005
- Docker Container exited with code 137
- Why is my cron.daily script not running?
- Announcing FuseGuard Version 3
- CFSummit 2017
- Java Unlimited Strength Crypto Policy for Java 9 or 1.8.0_151
- Java 9 Security Enhancements
- Upcoming CFML Conferences in April 2017
- CFSummit 2016 Slides