Solved

problem downloading from site on apache server

Posted on 2004-07-31
6
211 Views
Last Modified: 2010-03-04
i have a website and i put a java jad file
when i try to download this file from my mobile it is not downloaded instead i get the text the file contains dispayed on the screen

and when i try to download the java jar file i get this error
"one or more problems were found in this document.It cannot be displayed properly"

Thanks
0
Comment
Question by:omashhour
  • 3
  • 3
6 Comments
 
LVL 51

Expert Comment

by:ahoffmann
ID: 11687571
which Content-Type is set by the server? Does your client know how to handle this Content-Type?
0
 
LVL 1

Author Comment

by:omashhour
ID: 11687655
what is meant by content type  can u tell me please because im still a beginner with the apache server
0
 
LVL 51

Accepted Solution

by:
ahoffmann earned 250 total points
ID: 11689311
Content-Type is what the web server (apache) writes in the HTTP response header, it tells the client (your browser) how to handle following data
in your httpd.conf you need to have something like:
    AddType application/x-httpd-jad .jad

then your browser need sto know what to do with this
0
Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

 
LVL 1

Author Comment

by:omashhour
ID: 11689512
ok can u give me the other line to add for jar please
0
 
LVL 51

Expert Comment

by:ahoffmann
ID: 11692222
AddType application/x-httpd-jar .jar
0
 
LVL 1

Author Comment

by:omashhour
ID: 11693956
i did that before
but it didnt work thats why i was asking u for the content types
0

Featured Post

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

As Wikipedia explains 'robots.txt' as -- the robot exclusion standard, also known as the Robots Exclusion Protocol or robots.txt protocol, is a convention to prevent cooperating web spiders and other web robots from accessing all or part of a websit…
Hi, in this article I'm going to teach you how to run your own site, and how to let people in (without IP). I'll talk about and explain each step... :) By the way, everything in this Tutorial is completely free and legal. This article is for …
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

707 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now