TechnoBlabber

Cogitative blurbs on all things mobile

TechnoBlabber header image 2

The Nokia Mobile Web Server – Revisited

June 24th, 2007 by abhishta

Back in Feb, I posted a complete walkthrough of setting up the Raccoon Mobile Web Server, the earlier version of Nokia’s Mobile Web Server.A lot has changed since using Raccoon and the app has improved a lot and the new web interface is quite awesome. As before, the web server is completely hackable.

Fellow blogger Darla Mack wrote about making CSS customizations to the mobilesite template. But what if you wanted your own website to be displayed there? To test it out, I displayed my old web page on my mobilesite.

The process was quite simple.

The Mobile Web Server is organized on your mmc/hdd under the Data folder.

webserver-1.jpg

Like any Apache installation, the conf folder contains the httpd.conf file which allows you to modify the internals of the web server.

Copy over the httpd.conf file to your pc and open it in your favourite editor. Find the DocumentRoot entry and comment it out by placing a ‘#’ before it.

For testing, I created a folder called “mobile_site” on my N91’s HDD and moved all the html from my old site to the that folder. Then add another DocumentRoot entry to the httpd.conf.

DocumentRoot “E:/mobile_site”

Copy over the httpd.conf from your pc to Data->conf and then start up the webserver.

This is the result:

webserver-2.jpg

The site that I’ve uploaded is basic html + css and it works just fine. However, people with coding experience in python should definitely be able to create full-fledged dynamic webpages.

You need not restrict yourself to only web pages. The DocumentRoot entry could also have been something like “E:/Sounds/Digital”. The Mobile Web Server allows you to share all data on on the mmc/hdd (E:/) and the phone memory (C:/) of your S60 phone without restrictions.

Tags:   · · Comments

blog comments powered by Disqus