Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a website hosted on Fedora and I need my users to beable to download PDF files, is there any mod_rewrtie I can use to only allow PDF's to be downloaded, at the moment it just goes to 404 page.



share|improve this question

migrated from Nov 10 '10 at 16:01

This question came from our site for professional and enthusiast programmers.

This question is regarding server configuration. It should have been asked at, StackOverflow's sibling site for server-related questions. – sholsinger Nov 9 '10 at 16:29

Use tail -f /var/log/httpd/* for get the httpd error message

share|improve this answer

How about only putting .PDFs on the server if that's all it does?

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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