Is it possible to display a word or excel document on Linux server using any web server.

What should I use to display?

Note: I Don't want to download it , having an download option is ok.

I have seen some site which display the content on the browser itself. Which are without any codes. For eg the rpm mirror sites.

  • 1
    It uses a server-side library to convert the document to HTML. – Barmar Feb 2 '17 at 21:13

You need a web application of some sort to display the MS Office documents in a web browser. Modern web browsers can only display PDF files, and not all of them.

One such web application is Collabora Office Development Edition. https://www.collaboraoffice.com/code/

Note that it will give you full collaborative editing ability, not just viewing. Also note that it is not trivial at all to set up... but they do appear to offer a docker container which should make deployment a bit easier.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.