Results 1 to 7 of 7
Discuss Read local PDF file with Apache at the Free Toolchain Software (Cydia App's) - Hackint0sh.org; Hi, I read somewhere that you can setup Apache and you can read local PDF ...
  1. #1
    Newbie Array

    Join Date
    Oct 2007
    Posts
    6
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default Read local PDF file with Apache

    Hi, I read somewhere that you can setup Apache and you can read local PDF files using Safari.

    Here are the steps:
    1. Install Apache from App Installer.
    2. Use iBrickr to create a folder (name it anyway but with space) in /Library/Webserver/documents/.
    3. Upload the PDF to the new folder.
    4. Launch Safari and browse to http://127.0.0.1/(New folder).
    5. PDF should appears in the web page.

    I can't get it to work, any idea why??
    thanks!!!!



  2. #2
    Newbie Array

    Join Date
    Sep 2007
    Posts
    3
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default

    I suggest go google the "lighttpd, pdf" method , it works perfect for me and my friend

  3. #3
    Newbie Array

    Join Date
    Oct 2007
    Posts
    6
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default

    Thanks for the info, but i still prefer to use Apache since I have it installed already.

  4. #4
    Newbie Array

    Join Date
    Sep 2007
    Posts
    2
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default

    first the apache installation should have created the folder for you.

    I'd suggest checking the apache configuration on "/etc/httpd/httpd.conf"
    check that the "DocumentRoot" is pointing to your directory, and further down too.

    plus check the permission all the way down the path, in your case "/Library" "/Library/Webserver/" etc. it should be 755

    I hope that helped.

  5. #5
    Newbie Array

    Join Date
    Sep 2007
    Posts
    3
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default

    furthermore the url in safari has to be "closed" by "/", for example http://127.0.0.1/pdf/

    it won't work without that slash!


  6. #6
    Newbie Array

    Join Date
    Oct 2007
    Posts
    6
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default

    Hey, I finally got it to work however Safari refuses to open large PDF file, and the smaller ones (less 4 MB) are fine.

    Error message: safari can't open the page because it is too large

    Any idea?

  7. #7
    Senior Professional Array

    Join Date
    Sep 2007
    Posts
    125
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    13

    Default

    Quote Originally Posted by bigearth View Post
    Hey, I finally got it to work however Safari refuses to open large PDF file, and the smaller ones (less 4 MB) are fine.

    Error message: safari can't open the page because it is too large

    Any idea?
    Split the file.

    Ive heard that maximum PDF size is 7 megs.

    One of those PDF-Virtual Printer drivers should do what you want. (google CutePDF).
    iPhone 4 GB running 1.1.1 (virginized from 1.0.2) on Vodafone Greece
    Activated/Jailbroken/Unlocked via Safari Exploit/TouchFree/Anysim
    Calls in/out YES/YES
    SMS in/out YES/YES
    EDGE Probably yes, havent tried yet
    Wifi/YouTube/Wireless iTunes YES/YES/YES

 

 

Similar Threads

  1. How to have Safari open a local .html file?
    By grittree in forum General
    Replies: 2
    Last Post: 09-16-2009, 04:39 PM
  2. Couldn't read user-specified local hostname
    By aCasualObserver in forum Installation
    Replies: 1
    Last Post: 05-11-2009, 03:13 PM
  3. [MobileSafari] view local file with Beta 3
    By jowo in forum iPhone Developer Exchange
    Replies: 9
    Last Post: 04-22-2008, 07:59 AM
  4. [MobileSafari] Local File Viewer for 1.1.2 ?
    By pdieguez_br in forum Free Toolchain Software (Cydia App's)
    Replies: 1
    Last Post: 04-14-2008, 11:21 AM
  5. Replies: 0
    Last Post: 08-31-2007, 10:44 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Powered by vBulletin®
Copyright © 2014 vBulletin Solutions, Inc. All rights reserved.
Search Engine Friendly URLs by vBSEO
(c) 2006-2012 Hackint0sh.org
All times are GMT +2. The time now is 10:14 AM.
twitter, follow us!