Question about mod_rewrite

Discussion in 'Apache' started by mozgu, Jul 11, 2006.

  1. #1
    Hello guys.
    I have a problem:
    I want to hide extension of file in url.
    After entering in /cat/file i wanna show file.php but i want to have cat/file in url field /cat/file. How to do it in htaccess?

    Thanks for help
     
    mozgu, Jul 11, 2006 IP
  2. sreyas

    sreyas Well-Known Member

    Messages:
    128
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    108
    #2
    Hi,

    Are you trying to hide the scripting language or just want show no extension at all?
     
    sreyas, Jul 13, 2006 IP