RewriteEngine not working

Hello,

I installed Apache on my Windows XP computer. Mod Rewrite does not seem to work.  If I place the following in a directory's .htaccess file I get a 500 Internal Server Error.

                Options +FollowSymlinks
                RewriteEngine On
                RewriteCond %{REQUEST_FILENAME} !-f
                RewriteCond %{REQUEST_FILENAME} !-d
                RewriteRule ^(.*) index.php

Can you please look at my httpd.conf file (attached) and tell me what is wrong?

Thanks!

httpdconf.txt
LVL 16
hankknightAsked:
Who is Participating?
 
ravenplConnect With a Mentor Commented:
Edit Your httpd.conf, uncomment following line, restart apache.

#LoadModule rewrite_module modules/mod_rewrite.so
0
 
ravenplCommented:
It's best to look at apache's error log. It's written there.
c:/wamp/logs/apache_error.log
0
 
hankknightAuthor Commented:
Here is the error:

[Mon Feb 11 12:18:13 2008] [alert] [client 111.111.1.111] D:/wamp/www/rewrite/.htaccess: Invalid command 'RewriteEngine', perhaps misspelled or defined by a module not included in the server configuration
0
All Courses

From novice to tech pro — start learning today.