Buying mod_rewrite guru -need rewrite help

Discussion in 'Programming' started by e96, Nov 25, 2010.

  1. #1
    This is what we want our .htaccess file to do

    1) for all requests originating from another server
    2) check if the extension is .pdf
    3) if it is then redirect from
    domainroot /a/b/c/d/f/file.pdf
    to
    domainroot/x/b/c/d/f/file.php

    in other words simply change the
    the first level folder from 'a' to 'b' and the extension from '.pdf' to '.php'

    Our entire site is being designed around the fact that user must first visit the .php version of the page prior to directly downloading the pdf and we want to ensure that the only way to get to the pdf is directly from our site.

    Feel free to pm details and your paypal info. $50-60 ballpark is what i hope to pay.
     
    e96, Nov 25, 2010 IP
  2. stephan2307

    stephan2307 Well-Known Member

    Messages:
    1,277
    Likes Received:
    33
    Best Answers:
    7
    Trophy Points:
    150
    As Seller:
    100% - 0
    As Buyer:
    100% - 2
    #2
    I have send you a pm. Please check and get back to me.
     
    stephan2307, Nov 25, 2010 IP
  3. gapz101

    gapz101 Well-Known Member

    Messages:
    524
    Likes Received:
    8
    Best Answers:
    2
    Trophy Points:
    150
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #3
    job sorted out, waiting for feedback
     
    gapz101, Nov 25, 2010 IP