Someone help me with URL Rewrite please.

Discussion in 'Apache' started by proxywhereabouts, Sep 4, 2009.

  1. #1
    proxywhereabouts, Sep 4, 2009 IP
  2. dulcificum

    dulcificum Active Member

    Messages:
    535
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    68
    #2
    Just read mod_rewrite in the apache manual.
     
    dulcificum, Sep 4, 2009 IP
  3. Claudek

    Claudek Well-Known Member

    Messages:
    1,379
    Likes Received:
    81
    Best Answers:
    0
    Trophy Points:
    165
    #3
    Claudek, Sep 4, 2009 IP
  4. proxywhereabouts

    proxywhereabouts Notable Member

    Messages:
    4,027
    Likes Received:
    110
    Best Answers:
    0
    Trophy Points:
    200
    #4
    Thanks for the suggestion but after reading it for a while, I hardly understand a thing. Would a knowledgeable person who are willing to teach come here and explain? Greatly appreciated.
     
    proxywhereabouts, Sep 4, 2009 IP
  5. proxywhereabouts

    proxywhereabouts Notable Member

    Messages:
    4,027
    Likes Received:
    110
    Best Answers:
    0
    Trophy Points:
    200
    #5
    Thanks for this as well. I took a dive and try a few and don't seems to get it work :eek:


    
    Options +Indexes
    Options +FollowSymlinks
    RewriteEngine on
    RewriteBase /
    RewriteRule ^get\(.*)/(.*)\.html$ download/$1/$2/$3 [L]
    
    Code (markup):

    I'm trying to rewrite this link:
    http://www.site.com/download/?IP/category/title.zip

    to this:
    http://www.site.com/get/category/title/
     
    proxywhereabouts, Sep 4, 2009 IP
  6. proxywhereabouts

    proxywhereabouts Notable Member

    Messages:
    4,027
    Likes Received:
    110
    Best Answers:
    0
    Trophy Points:
    200
    #6
    Can anyone help please?
    Thank you.
     
    proxywhereabouts, Sep 5, 2009 IP
  7. proxywhereabouts

    proxywhereabouts Notable Member

    Messages:
    4,027
    Likes Received:
    110
    Best Answers:
    0
    Trophy Points:
    200
    #7
    Can someone help me with this?
    Appreciate it so much.
     
    proxywhereabouts, Sep 7, 2009 IP