I’m running Apache 2 on my machine. When I had an .htaccess file with nothing more than “RewriteEngine On” and that ends up giving me an internal server error. Does anyone know what I’m doing wrong?
@MstrBobNov 01.2005 — #Make sure you've got the RewriteModule loaded. In your httpd.conf file ('conf/httpd.conf'), make sure you uncomment it. It should look like this:
@FeelLikeANutauthorNov 01.2005 — #Ok, that did it. Thanks. I don't suppose there would be any way for me to load the module through htaccess so that I don't have to go through an administrator to get it on another server?
@MstrBobNov 01.2005 — #No, these modules need to be loaded when apache starts.
Besides, even if it was possible, it would be a performance hit. Your .htaccess file is read on each request made to the server, so the server would be constantly loading/unloading this module. Not very efficient, eh?