Your favorite Apple, iPhone, iPad, iOS, Jailbreak, and Cydia site.
03-20-2008, 05:10 AM #41
Sooo coool ;-) thought about that myself, but this is ... ecellent work you've done here. Never would have made it nearly to that "native" iPhone look ;-)
Maybe you should mention to think about setting the server.bind parameter to prevent others steeling those documents you store inside your /var/root/Sites right through the air ;-)... Maybe set that par as default...
03-24-2008, 03:01 AM #42
You're right wantthatfile! I'll bind it to localhost today
03-24-2008, 08:04 AM #43
I could not install PHP v.5.2.3-2 from installer. Tried many times...
Can anyone upload this file for me?
03-24-2008, 08:50 AM #44
server.bind = "localhost"
If you want to enable again that everyone in your local netwok can access your hosted files, all you have to do is to comment (add # sign) in front of server.bind parameter to apper like this:
#server.bind = "localhost"
I also added instructions in English inside .zip file in the first post.
Last edited by -V-O-Y-A-G-E-R-; 03-24-2008 at 08:50 AM. Reason: Automerged Doublepost
03-24-2008, 01:37 PM #45
After about 90 minutes of tweaking, I've now got this up on Installer for those of you who don't want to mess around in SFTP etc. Although, I find that funny - since then you'll have to SFTP to get the files to read on there anyway..
↑ ↑ ↓ ↓ ← → ← → B A [select] [start] Kyle Matthews
The Following User Says Thank You to Kyle Matthews For This Useful Post:
03-24-2008, 02:37 PM #46
I am not able to install PHP it says package download fail. kindly help
03-24-2008, 08:06 PM #47
03-25-2008, 03:50 AM #48
Clear the installation queue in installer and reboot your phone. It helps.
03-25-2008, 04:43 AM #49
I did what u say... but same error... someone kindly help as i need to install this application....thanks in anticipation....
03-25-2008, 01:19 PM #50
I've got mine working now, and I've got 2 problems/questions:
1. The directory it started me out in shows an 'images/" directory as well as the files hello.pl, hello.py, and hello.rb Is that correct? I can go under images and I can open the 2 images files there which are bg.png and iphone-webserver2.jpg via the browser.
2. After I was done and had the viewer hack working, the image for installer.app (the one that shows on the Featured page) is gone with the standard ? sign in it's place.
Thanks for your help!
The Following User Says Thank You to chadcham For This Useful Post:
03-25-2008, 03:57 PM #51Please help me . . . . I am going banannas!!!
I've got nearly the same question. I followed all the instructions, but I typed the modification manually line for line using Mobile TextEdit. Now when I go to "http//127.0.0.1/" or "http//localhost" I see the following below:
When I go to "http//localhost/.dirlist/" or "http//127.0.0.1/.dirlist/" I see the following :
What am I doing wrong, or what have i neglected to do? I am using MobileTextEdit - how do I move my PDF, Word, etc, files and where and how (step by step) do I put them? I have DropCopy installed and use it for file transfers. Should I use another application.
Please help . . . I am completely new to this and even if I can follow direction, at this point I am funkin' LOST!
Thank you . . . for any and all help . . . .
03-25-2008, 05:15 PM #52
I did this
view PDF's without Wi-fi
all i did was install lighttpd (that's it) and edit some files with WinSCP
to the beginning of the file add this dir-listing.activate ="enable"
find #server.bind = "127.0.0.1" and remove #
finally: go to /private/var/root/Sites, rename index.html to any thing ei: index1.html index0.html
it worked on the 1st try. then i turned on my Wi-fi to install some PDF. Turned Wi-Fi off. went to 127.0.0.1. Internal Error. WTF!
Last edited by mod_monkey; 03-25-2008 at 05:31 PM.
03-25-2008, 07:06 PM #53
Since my image on my installer.app is gone, I was assuming that my default directory for images was changed (or something similar). If someone solves your problem, they'll solve mine too.
Thanks for anyone who can help!
03-25-2008, 07:21 PM #54
Im alraedy stuck at:
"2. Check if Lighttpd is installed correctly. Point your iPhone browser to 127.0.0.1 and you should be greeted by Lighttpd welcome screen."
after i poitned 127.0.0.1 in my browser this shows up: "404 - Not Found"
please help me, i really want this to work.... (Im on a 1.1.4 iphone)
03-25-2008, 08:00 PM #55
Is there any other way to install PHP from other sources ?
Please help. many thanks Mr. V-O-Y-A-G-E-R !
03-25-2008, 08:40 PM #56
I got my problem solved, and now I can upload my documents to where I want and access them pretty easily!
I just went to the '/private/var/root/Sites/' directory and opened the lighttpd.conf file and changed this line from this:
server.document-root = "/private/var/root/Sites/"
server.document-root = "/var/mobile/Media/Docs/"
and I copied the .dirlist directory and it's contents to the directory as well. This is where I had my documents on my iPhone and is why I chose to change it to that, and with the .dirlist directory there, it provides iphone-ish interface to browse my files.
And strangely, my installer.app image icon reappeared as well.
I'm pretty much in love with this hack now. Thanks!
The Following User Says Thank You to chadcham For This Useful Post:
03-25-2008, 09:38 PM #57
03-25-2008, 10:13 PM #58I think i have a couple of answers...
Same problem here..I read some where last night that it is the way the latest version of installer validates the URL. Sorry I can't remember the site I was on because it was like 4 am here and I was zoning.
Here is how I worked around it:
There are websites out there that let you log in and create your own repo by choosing packages from different Sources. I don't know if I am allowed to tell you site's url so you will have to search.
I found 3 different sources for PHP. I then added my own repo link to installer and voila!
got it working on my 1.1.3 8gig.
I also noticed that I couldn't open a chm file to save my life so I installed mobileCHM and set it to use lighttpd for display. (in settings there is a toggle for Apache or lighttpd) it works fine now!
MobileCHM even added a chm folder to my 127.0.0.1 directory. COOL!
link to MobileCHM:
chmod +s /var/Applications/MobileCHM.app/MobileCHM
chmod +s /var/Applications/MobileCHM.app/clit
if your apps are not in var and this doesn't work then you might want to try:
# chmod -R 755 MobileCHM.app/MobileCHM
# chmod -R 755 MobileCHM.app/clit
I guess you can PM me and I can tell you the one I used. Maybe a Moderator can let us know if I can post the URL.
I connect to my phone via an sftp program and drag the files over to the var/root/Sites folder and they show up in the list when I go to mobile safari.
you can add folders within the sites folder to create a display directory.
I don't see any reason for you to have to navigate to http//127.0.0.1/.dirlist/.
what you are describing is what it is supposed to do. you just need to add documents...
Let me know if this helped. I could be in the wrong ball park from your question
Last edited by sabanir; 03-25-2008 at 10:16 PM. Reason: Automerged Doublepost
03-26-2008, 04:05 AM #59
Everyone can freely delete
03-26-2008, 04:34 AM #60
Thank you for your reply
my question is how do I add files to .dirlist (I would really appreciate it if you can guide me step by step)
By the way when using Mobile TextEdit and editing then saving - most times the changes don't even happen. The file goes to the way it was before. I don't understand this. I try rebooting the phone to see if changes may take effect that way but no dice.
I am running a iPhone unlocked with ziphone on 1.1.4 that my brother got me from NYC. I am in Greece now and am trying to figure this out and it's driving me up the wall.
How (exactly) step by step) do I add either word documents, or PDF files to my iPhone or .dirlist? What do I use can i move the PDF files on my iPhone using MobileFinder (and I don't even know how to do that) can I send them through wifi using DropCopy?
Do I transfer using dock and some other program maybe the Mac utilities program Terminal.app ? - and if so what command lines do I type to send the files to iphone and to the .dirlist so I can see them in my web.browser and what address do I type in the web browser.
I am really confused . . . .