Since Safari only works with websites but not local files, the way to get around this is obviously running a website on your iPhone using local HTML files (more precisely, running a HTTP server that serves those files) I installed lighttpd from Cydia for this purpose. Unlike OpenSSH:
1) it's not a featured app so you have to search for it
2) it requires a minimal amount of config (to understand the config, check its wiki. Otherwise you could always cut-and-paste)
3) it requires creating some directories if your iPhone is "virgin"
4) it requires a setup step (add a plist file) to make it start everytime you boot up the phone.
The directories I created are:
- /var/mobile/Sites: directory that stores your local HTML files
- /var/log/lighttpd: directory for log files
- /usr/etc: directory for config files
Basically I followed the steps by this poster except I cut-and-pasted the /usr/etc/lighttpd.conf from this poster in the same thread.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment