საიტის გასაუმჯობესებელი სამუშაოების მიმდინარეობისას, შესაძლებლობების ნაწილი შეიზღუდება. თუ სტატიით ვერ მოახერხებ ხარვეზის გამოსწორება და შეკითხვის დასმა გსურთ, ჩვენი მხარდაჭერის გუნდი დაგეხმარებათ @FirefoxSupport გვერდის მეშვეობით Twitter-ზე და /r/firefox განყოფილებაში Reddit-ზე.

ძიება მხარდაჭერაში

ნუ გაებმებით თაღლითების მახეში მხარდაჭერის საიტზე. აქ არასდროს მოგთხოვენ სატელეფონო ნომერზე დარეკვას, შეტყობინების გამოგზავნას ან პირადი მონაცემების გაზიარებას. გთხოვთ, გვაცნობოთ რამე საეჭვოს შემჩნევისას „დარღვევაზე მოხსენების“ მეშვეობით.

ვრცლად

Firefox downloads html page instead of opening it

  • 5 პასუხი
  • 4 მომხმარებელი წააწყდა მსგავს სიძნელეს
  • 14 ნახვა
  • ბოლოს გამოეხმაურა cor-el

I have an Apache web server (2.2.24) on a Red Hat Linux server (RHEL 5.8). On the web site I have a link to an html page that is not in the web directory, but is on the file system. When I click on the link to go to the web page, Firefox will not render the html page within the URL of the web site--it instead wants to download the html page before it displays the html. So, instead of getting http://mywebsite.com/help.html I get file:///C:Users/myuser/AppData/Local/Temp/Help.html. In internet explorer, the web page opens just fine: http://mywebsite.com/help.html--it does not try and download the file

I have an Apache web server (2.2.24) on a Red Hat Linux server (RHEL 5.8). On the web site I have a link to an html page that is not in the web directory, but is on the file system. When I click on the link to go to the web page, Firefox will not render the html page within the URL of the web site--it instead wants to download the html page before it displays the html. So, instead of getting http://mywebsite.com/help.html I get file:///C:Users/myuser/AppData/Local/Temp/Help.html. In internet explorer, the web page opens just fine: http://mywebsite.com/help.html--it does not try and download the file

ყველა პასუხი (5)

Our httpd.conf file has DefaultType text/plain The web page in question has a header of:

  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
  <META NAME="GENERATOR" CONTENT="Mozilla/4.04 [en] (X11; I; HP-UX B.10.20 9000/879) [Netscape]">

And yet Firefox still wants to download the page instead of render it directly in the browser :-(

The /conf/mime.types also seems to be configured correctly: text/html html htm

More information. The "Help.html" page being called is a link

http://mysite/web/mydir/subdir/subdir/test/Help.html is the URL

On file system:

/usr/mydir/subdir/subdir/subdir/test has a link

Help.html -> /usr/mydir/otherdir/otherdir/form/Help.html

With which MIME type does the server sends this page?

Firefox doesn't respect data present in meta tags when the server already sends this data in the HTTP response headers.