Apache on iPod Touch 1.1.2

Discussion in 'iOS Jailbreak & Cydia' started by FlashiPod4Free, Nov 27, 2007.

  1. FlashiPod4Free

    FlashiPod4Free New Member

    Joined:
    Oct 24, 2007
    Messages:
    187
    Likes Received:
    0
    Anyone have Apache installed on their iPod Touch 1.1.2? If so, please add a .mp4 video, CHMOD it, and try accessing it from Safari. I tried doing this but it didn't work, it only worked with me for 1.1.1, so I want to just make sure that it doesn't work with 1.1.2. Thanks!
  2. tigerminx

    tigerminx New Member

    Joined:
    Nov 4, 2007
    Messages:
    71
    Likes Received:
    0
    Device:
    iPod touch
    I have Apache running on my 1.1.2 iPod Touch. I am also running PHP. I have tried accessing a .mp4 file from Safari, but it cannot open it due to the file size. But the workaround is to embed the .mp4 file in a html file. I have a 200Mb video running perfectly.

    Bruce.
  3. AliasMrJones

    AliasMrJones New Member

    Joined:
    Nov 4, 2007
    Messages:
    21
    Likes Received:
    0
    Actually, you don't have to create an html page to get around the file too big error message. Go to /etc/httpd and add a line to mime.types like this:

    video/mp4 mp4

    Save the file. Then create a folder in your web home directory like this:

    cd /Library/WebServer/Documents
    mkdir vids

    Now, put some vids in that folder. Make sure there is no index.hmtl file in that folder so apache will let you see the contends of the directory. Now, open safari and go to http://127.0.0.1/vids and you will see a list of the files in that directory. Click on one of the .mp4 files, apache will stream the vid and safari will play it.
  4. tigerminx

    tigerminx New Member

    Joined:
    Nov 4, 2007
    Messages:
    71
    Likes Received:
    0
    Device:
    iPod touch
    Thank you. Adding that line works like a treat.
    Much appreciated.
    Bruce.
  5. bairen

    bairen New Member

    Joined:
    Nov 4, 2007
    Messages:
    11
    Likes Received:
    0
    Apologies! got it fixed with a reboot.
  6. FlashiPod4Free

    FlashiPod4Free New Member

    Joined:
    Oct 24, 2007
    Messages:
    187
    Likes Received:
    0
    Thanks for the great responses guys, I will try on my iPod Touch (once it's done charging).
  7. madmaxmedia

    madmaxmedia New Member

    Joined:
    Oct 19, 2007
    Messages:
    51
    Likes Received:
    0
    Is it possible that adding a line to mime.types can also enable viewing .webarchive files in mobile Safari?

    I would try, but don't know what I would actually add.

Share This Page