mod_rewrite help

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • phpmagesh
    New Member
    • Nov 2008
    • 119

    mod_rewrite help

    Hi to all,

    I want to edit the mod_rewrite in Apache, i dont know where it present and i dont know how to edit that,

    actually i m getting "Invalid command 'RewriteEngine' ".

    I am using wampserver 2.0 for apache,

    can any one help me in this please,

    Regards,
    magesh
  • TechiBharath
    New Member
    • Mar 2009
    • 5

    #2
    Hi Magesh,

    Let me know when you are thrown out of this error???

    Thanks
    Bharath

    Comment

    • Markus
      Recognized Expert Expert
      • Jun 2007
      • 6092

      #3
      Hey, Magesh.

      You need to load the mod_rewrite module, in your httpd (config file).

      Open said file, and locate the line that looks like this:

      Code:
      #LoadModule rewrite_module modules/mod_rewrite.so
      Remove the hash / pound sign from the beginning of the line, and restart your server.

      Let us know if this solves it.

      - mark

      Comment

      Working...