iPhone as backup web server
Using the port of lighttpd on his jailbroken iPhone, Mark Hoekstra of GEEKtechnique offers real-world proof that an iPhone can, indeed, function as a web server. He put up a static page and served 411 unique visitors during the time his server was offline for maintenance. Obviously, that's not battle-testing for a busier server, and the lack of database queries certainly aided the capacity of the tiny server, but it's definitely a fun example of the capabilities of a (hacked) iPhone.
Apache has also been ported, along with Python, vim, curl and other tools web servers can make good use of. There's a good possibility we'll see similar scenarios as time progresses, especially as the hardware capabilities of the iPhone improve. So, is that a backup web server in your pocket, or are you just happy to see me?
Thanks, Mike!
Share
Categories
Using the port of lighttpd on his jailbroken iPhone, Mark Hoekstra of GEEKtechnique offers real-world proof that an iPhone can, indeed,...
Add a Comment
Extrapolate this out a few years and we'll be able to use our GPS-enabled iphones as our *primary* web servers.
That could enable neat stuff, like viewing realtime video+audio feeds of all the people *currently* looking at your site/phone, if they have flash and an enabled webcam... and/or show you all the geo-locations of the people looking at your site.
WHERE THE HELL IS MYSQL?
I want IAMP!
Hi, here is PAMP (Personal Apache MySQL PHP) for S60: http://sourceforge.net/projects/pamp. If you don't absolutely need PHP and MySQL, here is the "consumer" version as linked already: http://mymobilesite.net. (You can now also install PHP and MySQL on top of that, too. See http://blogs.s60.com/mws/2008/05/pamp_your_phone_part_2.html)
May 09 2008 at 9:32 AM Report abuse Permalink rate up rate down ReplyYeah, who wants a S60 with way more server features (seriously, click the link), or more features in general when you can have a shiny iphone?
That's the target audience of the iphone after all eh?
This is news? I did this to my Touch over 4 months ago. I wrote a php page to find out stats from my itunes and iphoto library, too.
May 05 2008 at 3:33 PM Report abuse Permalink rate up rate down ReplyS60 has had an AMP stack for some time.
http://mymobilesite.net/screenshots/
No one wants a lame S60 though. They do want iPhones.
May 05 2008 at 3:26 PM Report abuse Permalink rate up rate down ReplyWhy not ?
After all Services like Apache are already being used through Installer....
Hot Apps on TUAW
Deals of the Day
more deals- JVC Motion Sensing Clock Radio with Dual iPod Docks for $55 + free shipping
- Apple iPhone Headset with Mic for $4 + $2 s&h
- miFrame Picture Frame Dock for iPad for $64 + $8 s&h
- Refurb Apple iPod nano 8GB MP3 Player for $99 + free shipping, 16GB for $119
- Hannspree Apple-Shaped 28" 1080p LCD HDTV for $270 + free shipping
- Philips wOOx Alarm Clock Radio for Apple iPod / iPhone for $60 + free shipping
Software Updates
more updates- EFI Firmware Update brings Lion Internet Recovery to 2010-model Macs
- OS X Lion 10.7.3 released with Safari 5.1.3, Wi-Fi bug fix
- Aperture updated to 3.2.2, addresses Photo Stream issue
- Apple updates Keynote to address Lion issues
- Google Search app gets new look on iPad
- Apple releases Apple TV Software Update 4.4.3



12 Comments