Results 1 to 7 of 7
  1. #1
    Darragh Rogan
    Guest
    Hi,

    Tell me, do you need to set up headers on your web server to offer java
    downloads?

    Darragh



    See More: Apache .htaccess Java download header




  2. #2
    Darragh Rogan
    Guest

    Re: Apache .htaccess Java download header

    Darragh Rogan <[email protected]> wrote in
    news:[email protected]:

    > "Dave Ace" <[email protected]> wrote in news:bhja8g$cnr$1
    > @sparta.btinternet.com:
    >
    >> Yes you do if your server does not allready support the mime types .
    >>
    >> --
    >> --
    >> www.acegames.btinternet.co.uk
    >> "Darragh Rogan" <[email protected]> wrote in message
    >> news:[email protected]...
    >>> Hi,
    >>>
    >>> Tell me, do you need to set up headers on your web server to offer java
    >>> downloads?
    >>>
    >>> Darragh

    >>
    >>
    >>

    >
    > so what do i add into the .htaccess? will i have to add in the mime type
    > for wml as well?
    >
    > also, what file do i link to?? the .jad?
    >
    > Thanks,
    >
    > Darragh
    >


    got it semi sorted:



    DirectoryIndex index.wml

    AddType text/vnd.wap.wml wml

    AddType text/vnd.wap.wmlscript wmls

    AddType application/vnd.wap.wmlc wmlc

    AddType application/vnd.wap.wmlscriptc wmlsc

    AddType image/vnd.wap.wbmp wbmp

    AddType application/java-archive jar

    AddType text/vnd.sun.j2me.app-descriptor jad



    only it doesn't work on my mobile...tried all three Irish networks.

    Would anyone else like to give it a go:

    www.cleansounds.com/wap/

    Thanks,

    Darragh



  3. #3
    Dave Ace
    Guest

    Re: Apache .htaccess Java download header

    Yes you do if your server does not allready support the mime types .

    --
    --
    www.acegames.btinternet.co.uk
    "Darragh Rogan" <[email protected]> wrote in message
    news:[email protected]...
    > Hi,
    >
    > Tell me, do you need to set up headers on your web server to offer java
    > downloads?
    >
    > Darragh






  4. #4
    Darragh Rogan
    Guest

    Re: Apache .htaccess Java download header

    "Dave Ace" <[email protected]> wrote in news:bhja8g$cnr$1
    @sparta.btinternet.com:

    > Yes you do if your server does not allready support the mime types .
    >
    > --
    > --
    > www.acegames.btinternet.co.uk
    > "Darragh Rogan" <[email protected]> wrote in message
    > news:[email protected]...
    >> Hi,
    >>
    >> Tell me, do you need to set up headers on your web server to offer java
    >> downloads?
    >>
    >> Darragh

    >
    >
    >


    so what do i add into the .htaccess? will i have to add in the mime type
    for wml as well?

    also, what file do i link to?? the .jad?

    Thanks,

    Darragh



  5. #5
    Loz
    Guest

    Re: Apache .htaccess Java download header


    "Darragh Rogan" <[email protected]> wrote in message
    news:[email protected]...

    > www.cleansounds.com/wap/
    >


    Tried on a 6610 on Orange, got "response unknown"







  6. #6
    zimon
    Guest

    Re: Apache .htaccess Java download header

    In article <[email protected]>, Darragh Rogan wrote:
    > DirectoryIndex index.wml
    > AddType text/vnd.wap.wml wml
    > only it doesn't work on my mobile...tried all three Irish networks.
    > Would anyone else like to give it a go:
    > www.cleansounds.com/wap/


    You have at least mispaired TAGs there in the index.wml

    You have:
    "
    <small><p align="right">Main Street
    <br/>Clane
    <br/>Co. Kildare
    ......
    </small></p>
    "

    Should be for example:
    "
    <p align="right"><small>Main Street
    <br/>Clane
    <br/>Co. Kildare
    ......
    </small></p>
    "

    Your Midlets does not work on Nokia 7650 at least. The JAD-file download
    works, and phone asks if I want to install the midlet. It downloads the
    JAR-file and starts installing, and tells: "Broken archive" or
    something.





  7. #7
    Darragh Rogan
    Guest

    Re: Apache .htaccess Java download header

    zimon <[email protected]> wrote in
    news:[email protected]:

    > In article <[email protected]>,
    > Darragh Rogan wrote:
    >> DirectoryIndex index.wml
    >> AddType text/vnd.wap.wml wml
    >> only it doesn't work on my mobile...tried all three Irish networks.
    >> Would anyone else like to give it a go:
    >> www.cleansounds.com/wap/

    >
    > You have at least mispaired TAGs there in the index.wml
    >
    > You have:
    > "
    > <small><p align="right">Main Street
    > <br/>Clane
    > <br/>Co. Kildare
    > .....
    > </small></p>
    > "
    >
    > Should be for example:
    > "
    > <p align="right"><small>Main Street
    > <br/>Clane
    > <br/>Co. Kildare
    > .....
    > </small></p>
    > "
    >
    > Your Midlets does not work on Nokia 7650 at least. The JAD-file
    > download works, and phone asks if I want to install the midlet. It
    > downloads the JAR-file and starts installing, and tells: "Broken
    > archive" or something.
    >
    >
    >


    would malformed wml cause a problem?

    I'm going to replace my dicky code with your good code now.

    Darragh



  • Similar Threads