Intermediate Web Publishing [prev] [next] [up]

Software configuration: Serving downloadable files

What? You want to serve Word documents or PDF files or something like that? Either:

Example: let's add support for PDF files to the server

MIME typeapplication/pdf
typical filename.pdf
Mac "file type"PDF

Setup using NCSA httpd

It's probably already in mime.types, but if not you can edit the file conf/srm.conf to include the following line

AddType application/pdf .pdf
You can do the same thing on a per-directory basis by including the above line in a file called .htaccess in the directory you want to modify.

Setup using WebSTAR:


[prev] [next] [up]