mod_rewrite help

Discussion in 'Apache' started by pgabriel, May 11, 2007.

  1. #1
    Hello,

    I`m trying to rewrite some urls.On my localhost they are working fine, but after i upload them on server they are not working.

    Here is the php code:
    the code on URL:
    and the .htaccess file:
    this is the error i get on server:
    Could somebody please help?

    EDIT: The "Folder" folder really exists, categories and subcategories are in .txt file.
     
    pgabriel, May 11, 2007 IP
  2. Nintendo

    Nintendo ♬ King of da Wackos ♬

    Messages:
    12,890
    Likes Received:
    1,064
    Best Answers:
    0
    Trophy Points:
    430
    #2
    What does the original URL look like? I'm guessing
    domain.com/Folder/The-Category/Sub-category/Some-File-download-1.html
    is how you want it.
     
    Nintendo, May 11, 2007 IP
  3. pgabriel

    pgabriel Peon

    Messages:
    19
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Nintendo, thanks for your time and reply. I have solved my problem.
    Here is the solution:
     
    pgabriel, May 12, 2007 IP