Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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.

Cheers

J

share|improve this question

migrated from stackoverflow.com 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 ServerFault.com, StackOverflow's sibling site for server-related questions. –  sholsinger Nov 9 '10 at 16:29
add comment

2 Answers

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

share|improve this answer
add comment

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

share|improve this answer
add comment

Your Answer

 
discard

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.