(for google only) newbie rails apache rewriteengine error solved

When setting up rails with apache, if you get the error message “Invalid command ‘RewriteEngine’ ” in the apache log when apache’s trying to parse the .htaccess file, it’s probably because by default the necessary module is not enabled.

Find and uncomment the line

LoadModule rewritemodule modules/modrewrite.so

in your apache config (perhaps conf/httpd.conf) to get to the end of level baddy.

It does say in the getting started to check this is done. shakes head.

Keywords: ruby, rails, setup, apache 2.0.46, windows, “getting started”, basic installation problem. “Internal Server Error”. rewriteengine, mod_rewrite. rtfm.

Comments are closed.