Шукати в статтях підтримки

Остерігайтеся нападів зловмисників. Mozilla ніколи не просить вас зателефонувати, надіслати номер телефону у повідомленні або поділитися з кимось особистими даними. Будь ласка, повідомте про підозрілі дії за допомогою меню “Повідомити про зловживання”

Learn More

Ця тема перенесена в архів. Якщо вам потрібна допомога, запитайте.

firefox displays a web page as source from a windows Authenticated web server

  • 3 відповіді
  • 4 мають цю проблему
  • 8 переглядів
  • Остання відповідь від Yiipeeia

more options

WHY DOES THIS DISPLAY AS SOURCE IN FIREFOX?

in IE is displays the line :- WHY DOES THIS DISPLAY AS SOURCE IN FIREFOX? In firefox it displays the whole source of the file ?

<!-- below is a very simple html web pages --> <html> <head> </head> <BODY> WHY DOES THIS DISPLAY AS SOURCE IN FIREFOX? </BODY> </HTML> in IE is displays the line :- WHY DOES THIS DISPLAY AS SOURCE IN FIREFOX? In firefox it displays the whole source of the file ?

Усі відповіді (3)

more options

You see the page source if that file is send as text/plain instead of text/html.
You can check that in Tools > Page Info > General

more options

So why does it appear correctly in IE and Safari but not Firefox? Do I have to change some settings in the web server? Or Firefox to view it as html?

more options

Aaah haa on that server I had mime type .* set to text/plain so I changed that to :- .txt text/plain and added .htm text/html And cleared out firefox history and reloaded the page and hey presto is showed page correctly.