Търсене в помощните статии

Избягвайте измамите при поддръжката. Никога няма да ви помолим да се обадите или изпратите SMS на телефонен номер или да споделите лична информация. Моля, докладвайте подозрителна активност на "Докладване за злоупотреба".

Научете повече

Mozilla can't find a valid PDF file to open in a browser, but Chrome or IE work without problem. Why?

  • 3 отговора
  • 1 има този проблем
  • 8 изгледи
  • Последен отговор от pi314

more options

The system I'm running is Scientific Linux. PDF files, I need to open in a browser, are on the file server, but in the same folder as my html files, etc. So, in HTML I gave the link to some PDF to open it in the browser, however, Mozilla says it can't find the file by the given URL. Proper permissions to access the files are given. All is lowercase, no spelling error.

On Chrome, on the same computer, everything works fine. I've also tested on Windows, still Chrome or IE work without problem.

Any ideas?

The system I'm running is Scientific Linux. PDF files, I need to open in a browser, are on the file server, but in the same folder as my html files, etc. So, in HTML I gave the link to some PDF to open it in the browser, however, Mozilla says it can't find the file by the given URL. Proper permissions to access the files are given. All is lowercase, no spelling error. On Chrome, on the same computer, everything works fine. I've also tested on Windows, still Chrome or IE work without problem. Any ideas?

Избрано решение

The problem is fixed now.

Though I do not have a proper explanation, but all I did is just moved all the files for download to the same level as the html file, from where hfer links were working. And mozilla now can see the PDF-s !

Прочетете този отговор в контекста 👍 0

Всички отговори (3)

more options

In your browser do you have the mime type pdf associated with a program?

more options

Thanks for your reply! I've checked the link, and everything is set to its normal form in my browser. Otherwise this particular case, the browser has no problems viewing PDF files, but here, when I try to open the PDF (using HTML code, say, href="downloads\file1.pdf" where "downloads" is a folder on the same level as the html file) then the error I am getting is this

Not Found

The requested URL (the name) was not found on this server.

more options

Избрано решение

The problem is fixed now.

Though I do not have a proper explanation, but all I did is just moved all the files for download to the same level as the html file, from where hfer links were working. And mozilla now can see the PDF-s !