This forum has been moved here:
Helicon Tech Community Forum

  Active TopicsActive Topics  Display List of Forum MembersMemberlist  HelpHelp   RegisterRegister  LoginLogin
HotlinkBlocker (Forum Locked Forum Locked)
 Helicon Tech : HotlinkBlocker
Subject Topic: Redirect all pdf files
Author
Message |
jdonofrio
Newbie


Joined: 25 March 2009
Posts: 15
Posted: 01 December 2009 at 1:11pm

Hi,

I would like to redirect all pdf file to a page.

 

like *.pdf redirect to /about.aspx

 

thanks

joe

Back to Top
 
Anton
Admin Group


Joined: 30 January 2007
Location: Ukraine
Posts: 10519
Posted: 02 December 2009 at 4:22am

I guess, it's the task for ISAPI_Rewrite. Please try using the following config in ISAPI_Rewrite v3:

RewriteBase /
RewriteRule \.pdf$ /about.aspx [NC,R=301,L]

__________________
Regards,
Anton
Back to Top
 
jdonofrio
Newbie


Joined: 25 March 2009
Posts: 15
Posted: 02 December 2009 at 11:21am

it worked, thanks
Back to Top
 

Sorry, you can NOT post a reply.
This forum has been locked by a forum administrator.

Printable version Printable version
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum