Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

problem downloading from site on apache server

Posted on 2004-07-31
6
218 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
What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

 
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

Connect further...control easier

With the ATEN CE624, you can now enjoy a high-quality visual experience powered by HDBaseT technology and the convenience of a single Cat6 cable to transmit uncompressed video with zero latency and multi-streaming for dual-view applications where remote access is required.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

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…
Over the last year I have answered a couple of basic URL rewriting questions several times so I thought I might as well have a stab at: explaining the basics, providing a few useful links and consolidating some of the most common queries into a sing…

790 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