Connecting Tech Pros Worldwide Help | Site Map

mod_rewrite help

  #1  
Old December 8th, 2008, 05:38 AM
Member
 
Join Date: Nov 2008
Location: Chennai, India
Posts: 98
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
  #2  
Old March 2nd, 2009, 06:33 PM
Newbie
 
Join Date: Mar 2009
Location: India
Posts: 5

re: mod_rewrite help


Hi Magesh,

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

Thanks
Bharath
  #3  
Old June 4th, 2009, 07:54 PM
Markus's Avatar
Moderator
 
Join Date: Jun 2007
Location: York, England, with wolves.
Posts: 4,862
Provided Answers: 9

re: mod_rewrite help


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:

Expand|Select|Wrap|Line Numbers
  1. #LoadModule rewrite_module modules/mod_rewrite.so
  2.  
Remove the hash / pound sign from the beginning of the line, and restart your server.

Let us know if this solves it.

- mark
Reply


Similar Threads
Thread Thread Starter Forum Replies Last Post
mod_rewrite help tj111 answers 0 September 14th, 2007 09:45 PM
mod_rewrite - Help, I'm a newbie... bradvanwick answers 0 November 18th, 2006 06:09 AM
mod_rewrite help: More than 32000 directories on Linux problem? Support answers 4 July 17th, 2005 10:20 AM
mod_rewrite help Westcoast Sheri answers 1 July 17th, 2005 07:05 AM