Solved

problem downloading from site on apache server

Posted on 2004-07-31
6
215 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
Zoho SalesIQ

Hassle-free live chat software re-imagined for business growth. 2 users, always free.

 
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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
phpmyadmin installation 3 53
how to configure and install nginx ? 1 429
local dns 2 135
setup wamp server for first time 2 41
Introduction As you’re probably aware the HTTP protocol offers basic / weak authentication, which in combination with the relevant configuration on your web server, provides the ability to password protect all or part of your host.  If you were not…
In Solr 4.0 it is possible to atomically (or partially) update individual fields in a document. This article will show the operations possible for atomic updating as well as setting up your Solr instance to be able to perform the actions. One major …
Concerto provides fully managed cloud services and the expertise to provide an easy and reliable route to the cloud. Our best-in-class solutions help you address the toughest IT challenges, find new efficiencies and deliver the best application expe…
Delivering innovative fully-managed cloud services for mission-critical applications requires expertise in multiple areas plus vision and commitment. Meet a few of the people behind the quality services of Concerto.

932 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

8 Experts available now in Live!

Get 1:1 Help Now