|Posted: Friday Feb 10th, 2012 at 6:00 pm #4782|
Using WordPress 3.3.1
I think I’m writing my Advanced Mod-Rewrite code incorrectly.
I have a pdf file in my Cloudfront bucket that I want to serve inline. I’ve configured the metatags accordingly. If I use the standard code with a query string, it works correctly. But if I use Advanced Mod-Rewrite, I get a server error.
The filename is “howtopresentourlessons.pdf” and for the purpose of this test, I’ve put it on the root level of my bucket, not in a folder. There are no protections on the page containing the link.
And here are the two code samples:
- s2Member® Products