Help! Mod_Rewrite on Linux Server?

Discussion in 'Apache' started by gehin08, Aug 8, 2009.

  1. #1
    Hey everyone,
    I have been spending the past hour searching for a post that would work but I haven't found any.. I am trying to create a mod_rewrite for some of my pages on the .htaccess file but it never works :(.

    Im trying to get

    http://www.filmreelz.com/story.php?id=the-hulk

    to be

    http://www.filmreelz.com/story/id/the-hulk.html

    This is what I have so far that is useless..

    Options +Indexes
    Options +FollowSymlinks
    RewriteEngine on
    RewriteBase /
    RewriteRule story/(.*)\.html$ story.php?id=$1 [L]

    http://www.filmreelz.com/story/the-hulk.html does not work either.. Any help would be great thanks!
    P.S those are not real links they wont take you anywhere..
     
    gehin08, Aug 8, 2009 IP