Поиск в Поддержке

Избегайте мошенников, выдающих себя за службу поддержки. Мы никогда не попросим вас позвонить, отправить текстовое сообщение или поделиться личной информацией. Сообщайте о подозрительной активности, используя функцию «Пожаловаться».

Learn More

HTML files from localhost are downloaded by Firefox before opening

  • Нет ответов
  • 1 имеет эту проблему
  • 1 просмотр
more options

If I open http://localhost/usr/xyz/abcd.xhtml via Firefox browser, the document is downloaded to /tmp then opened as

file:///tmp/abcd.xhtml .

Why can't I open a .xhtml document straight from its location? Local directory xyz has subdirectories so the document once copied to /tmp no longer works, moreover subsequent retrieves create abcd-1.xhtml etc. I need to open my document using HTTP protocol instead of FILE protocol to get HTTP status variable correctly set on some Net access. Thanks in advance

If I open http://localhost/usr/xyz/abcd.xhtml via Firefox browser, the document is downloaded to /tmp then opened as file:///tmp/abcd.xhtml . Why can't I open a .xhtml document straight from its location? Local directory xyz has subdirectories so the document once copied to /tmp no longer works, moreover subsequent retrieves create abcd-1.xhtml etc. I need to open my document using HTTP protocol instead of FILE protocol to get HTTP status variable correctly set on some Net access. Thanks in advance