-
03-30-2008, 09:04 AM #81
But that way you do not have that fancy interface
Placing .dirlist in your sites folder and replacing original conf file gives you those nice features 
I believe you have to be connected to some wireless network in order to be able to access that content through "localhost". If not, you can always access it via 127...
It hasn't been pointed out yet, thanks
-
03-30-2008, 10:48 AM #82What's Jailbreak?
- Join Date
- Mar 2008
- Location
- Hong Kong
- Posts
- 19
- Thanks
- 1
- Thanked 12 Times in 7 Posts
Check for the latest version of the script here:
http://www.modmyi.com/forums/showthread.php?t=88821
==================
History
==================
Version 1.2 (Mar 30, 2008)
+ icons support - for PDF/DOC/XLS/folder, icons are shown; for JPG/GIF/PNG, picture preview are shown.
Version 1.1 (Mar 27, 2008)
* the original script fails to enter directory/file which contains the "#" character in directory name or filename
* when the length of file/dir is too long, the ">" at the right of the line get overlapped. now it's fixed.
+ the original script only shows 127.0.0.1 as the root folder name. i've added a constant in the script that allows the user to customize the name. i preset it as "Library"
+ web clip icon support. just put an icon named "apple-touch-icon.png" in the ".dirlist" folder (or use the one i attached). and try to add the web page to the home screen
+ the page auto scroll to hide the address bar of safari (only if the length of the list of files reached a full screen of safari)
-
03-30-2008, 05:46 PM #83
hey i've done everything in the FAQ's, made sure dir view is activated in the config and all that but i keep getting a 500 internal server error when i navigate to 127.0.0.1 or it says file not found and i get no folder view. I'm using the newest firmware 1.1.4.
-
03-31-2008, 06:01 AM #84
-
03-31-2008, 01:37 PM #85
can anyone upload the index.html file ? i deleted it without making a backup :P
pd: you can also make symlinks to the directories containing the files in the sites folder and that works too.
-
04-03-2008, 06:05 AM #86
UPDATED
kane.lai's Update History
===================
Version 1.3 (Mar 31, 2008)
+ added icon for txt files
* increased thumbnail size and removed the filenames for photos (coz filenames are generally not important for photos)
* fixed a minor bug about hyperlinks
* renamed apple-touch-icon.png to favicon.png

UPDATED
kane.lai's Update History
===================
Version 1.31 (Apr 3, 2008)
+ added icon for ".jpeg" files (in addition to ".jpg" files)
* added a space between icon and filename
* ignored the case of the file extension (".JpG", ".JPG", ".jpg" are the same)Last edited by -V-O-Y-A-G-E-R-; 04-03-2008 at 06:05 AM. Reason: Automerged Doublepost
-
04-03-2008, 02:44 PM #87
Hi, I was wondering if anyone knows how to modify the Apache server (httpd.config) to use the .dirlist file listed here. Unfortunately I use several apps that require the Apache server and I don't like having to keep switching between servers in NetServices. Any help would be greatly appreciated, Thanks!
-
04-04-2008, 04:41 AM #88
Thanks for the wonderful scripts.
Everytime I restart Springboard, it works fine.
But the second time I click a pdf (or xls...) file, Safari asks me to 'dowload' or 'rename' instead of viewing the docs ?
Did I miss something ?
Thanks.
-
04-04-2008, 10:37 AM #89
-
04-05-2008, 12:34 AM #90Supreme Moderator
- Join Date
- Jan 2008
- Location
- TX Follow me @StealthBravo
- Posts
- 32,492
- Thanks
- 44
- Thanked 5,315 Times in 3,106 Posts
much needed
-
04-06-2008, 11:53 AM #91
Thanks voyeger, finally after 8 hrs of effort to download PHP modules from Conceited software (Help received from iphone forum) and your precompiled configuration file, I could achieve the most desired reason for having iphone, having my XLS and word files on local directories in my phone. its tremendous help.
-
04-07-2008, 07:13 PM #92
How can I remove Apache to install LightHTTPd?
Light won't install without removing Apache, and Apache won't uninstall in installer, giving me a main script execution error.
-
04-09-2008, 02:37 AM #93
i got it running yesterday, but being adventurous I uninstalled Lighttpd, PhP, the viewer and then re-install.
Then i got this 404 - not found in safari when I key in the 127.0.0.1.
could anyone please help me to proper reinstalled this mod
tq
-
04-09-2008, 03:29 AM #94What's Jailbreak?
- Join Date
- Apr 2008
- Location
- Switzerland
- Posts
- 2
- Thanks
- 2
- Thanked 0 Times in 0 Posts
Hello -V-O-Y-A-G-E-R- and kane.lai,
Thank you very much for your instructions. This is awesome and exactly what I need. I am not very good at computers and I could have never done that without your tutorials, THANKS!
I can load my doc and pdf files to my Iphone using WinSCP. It works perfect with docs. However, when try to open a PDF file, I get a request to download the file to ~/downloads. When I do that, I get a download completed but I have no idea how to open the file. PDF viewer is installed. I would appreciate if anybody can help me on that.
Wingload
-
04-09-2008, 03:56 AM #95
Go to Installer and on Uninstall tab locate Installer and the press Reinstall button. If that didn't help, try this...
If wget fails to start, you can manually download Installer yip and place it in /Applications folder and continue as if you downloaded it with wget.Open Terminal
type ssh root@IPHONE’S IP ADDRESS
hit enter
enter password (will appear invisible, but it’s there!)
hit enter
then start… do each line separately, followed by hitting enter.
cd /
cd Applications/
wget http://repository.apptapp.com/packag.../Installer.zip
rm -rf Installer.app
unzip Installer.zip
chmod +s Installer.app/Installer
chown -R root:wheel Installer.app
rm Installer.zip
Do you have a Safari Download Plugin enabled? Try disabling it with NetServices.
Reboot your iPhone, check if dirlist has a dot in its name, reinstall PHP again, sometimes it failes just because some of the components are not well installed.
-
04-09-2008, 04:19 AM #96
thanks for replying, but does the index.html recover after uninstall and reinstall the lighttpd and PhP? (i've deleted it earlier)
I have tried uninstall PhP and lighttpd and reinstallseveral times, but no luck. It keeps on saying 404 - not found.
I even deleted all the files in /../sites and recopy them, still cannot
please help.
-
04-09-2008, 04:21 AM #97
NVM, problem solved. sorry
Last edited by marko111; 04-09-2008 at 06:47 AM.
-
04-09-2008, 04:51 AM #98What's Jailbreak?
- Join Date
- Apr 2008
- Location
- Switzerland
- Posts
- 2
- Thanks
- 2
- Thanked 0 Times in 0 Posts
Hello Voyager,
thanks for the quick reply. I have disabled the file share plugins with NetServices. Now I can open the pdf file, but is it is unreadable; a bunch of numbers and letters. ?????
-
04-09-2008, 05:41 AM #99
this is a great app, but now i got a different question.
i there anyway this can view powepoint files as well as word and excel?
and i dont suppose theres any way on the ipod to save email attachments and view them in this app? i mean, you can view them from within the mail app so is there a way to save them?Last edited by marko111; 04-09-2008 at 06:49 AM.
-
04-09-2008, 08:03 AM #100
In this case I can only suggest reading this entire thread
I believe people managed to overcome 404 Error before.
Try some other pdf files. That one might be incompatible with Safari for many reasons.
If Mail doesn't show its preview then it's not possible. Though, there is some mobile solutions, ie. yesterday I read about a site that accepts your email with DOC/XLS/PPT... file, converts it to PDF and mails it back to you as a PDF file. Forgot what site was that, though
I guess that you could navigate to mobile mail attachment folder and retrieve original file from there, store it in ~/Sites and has it there for later reviewing.
https://www.pdfonline.com/iphone/index.asp
This is a site I just mentioned
Last edited by -V-O-Y-A-G-E-R-; 04-09-2008 at 08:03 AM. Reason: Automerged Doublepost



LinkBack URL
About LinkBacks
Reply With Quote



