IPhone can also be easily realized by installing Apache on e-books

Source: Internet
Author: User

Currently, no good Chinese e-book reading software is available on the iPhone. Book. app can only read English documents (in TXT and HTML formats), but Chinese documents cannot be displayed. One possible solution is to use safari. Today, SCP, SFTP, Python, and Apache are installed on the iPhone. Then I made a small website for e-books and photos. In the future, I only need to visit 127.0.0.1 in Safari, which is very simple!

Another advantage of using Apache is that you can put images. The iPhone comes with a good photo browser, but the thumbnail file generated by itune is too large. I synchronized 1600 JPG images (the total size is only 160 MB ), the thumbnails generated by the results occupy the entire 1 GB space of the iPhone. The smoothness of the iPhone photo browser is achieved by generating thumbnails in advance during itune synchronization. Even if one GB of space is spent, itune still loses quality during conversion, and the image is obviously not clear in the photo browser. If you put the jpg image directly under Apache and use safari to view it, all the problems are solved, no thumbnails are required, and there is no loss in the image quality.

Apache for iPhone can be downloaded from the following link. After unzipping, use winscp or iphoneinterface to upload all files to the root directory of iPhone by directory structure. Make sure that the executable file has the X attribute, if not, use chmod + X.
Http://iphone.natetrue.com/apache_1.3.37_mach-o_acorn.tar.gz

Your web documents are stored in the/library/webserver/documentsdirectory of the iPhone. The file name is index.html.

The attachment is installed with Apache and used safari to access the Web server on the iPhone. Photo Gallery is automatically generated using Photoshop. (Author: xcrystal)

ArticleCopyright from http://iphone.tgbus.com owned by original author

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.