• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 380
  • Last Modified:

IIS 7 URL Re-Write PDF to HTML

I have a PDF in a directory:

When clicked, I want to re-direct to:


I tried writing URL Rules but I cannot get it to work. High points for a speedy solution!

1 Solution
(Note, my IIS is in portuguese and translation may not match exactly)

Open your IIS Manager
Find the application/directory where your file is located
Right-click it and select "Switch to content view"
Find your file and select it
Right-Click it and select "switch to resources view"
On your resources view, double-click "HTTP Redirect"
Check the first checkbox and fill the redirect destination below with "http://www.mydomain.com/files/pdf/news/2011_Dec_News.pdf"
Check the second checkbox and apply
SOTAAuthor Commented:
Thanks so much!! Worked exactly how I wanted it to!!! :-)
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now