Please solve this problem, Downloading .NTH, .JAR file as .TXT

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Please solve this problem, Downloading .NTH, .JAR file as .TXT

    Hello Friends

    I am facing a problem with sea 8.1 autoindex script.

    when i tried to download .jar .nth file it save as .txt file
    this problem only with mobile devices.
    when i try to download from computer every thing is ok.

    I have tried this script on different server but the problem is same.


    please friends solve this problem..........
    Last edited by bivaswap; 23.06.11, 16:01.

    #2
    make sure your server has the right mime types added for the files your downloading

    Comment


      #3
      AddType application/java-archive .jar
      AddType application/x-java-archive .jar
      AddType application/vnd.symbian.install sis
      AddType application/vnd.nok-s40theme .nth


      add this in your .htaccess file on server
      then try
      They Make Rules & I Break Them

      Comment


        #4
        Thanks friends @ MadHatter & @ ajit55u

        Comment


          #5
          I have the same problem and my MIMES are configured correctly, it used to work fine i don't know what's wrong now. but on my site it redirects to homepage since i configured ErrorDocument's in .htaccess
          libra.wen.ru

          Comment


            #6
            Please click one of the Quick Reply icons in the posts above to activate Quick Reply.
            Originally posted by s3nzo View Post
            I have the same problem and my MIMES are configured correctly, it used to work fine i don't know what's wrong now. but on my site it redirects to homepage since i configured ErrorDocument's in .htaccess
            I have found another way solve the problem

            go to your cpanel > MIME types

            Add the following on MIME type for the following extensions

            Mime type extension
            application/java-archive ----------> .jar
            application/vnd.nok-s40theme -----------> .nth
            application/vnd.symbian.install ------------> .sis
            x-epoc/x-sisx-app ------------> .sisx

            save

            Hope everything will be all right!
            Last edited by bivaswap; 24.06.11, 12:53.

            Comment

            Working...
            X