Forum Moderators: phranque
LoadModule rewrite_module modules/mod_rewrite.so
AddModule mod_rewrite.c
also i set all "Options" and "AllowOverride" to "All". i'm trying mod rewrite on this simply .htacces file in blah directory:
RewriteEngine on
RewriteRule blah\.html index.php
calling localhost/blah/blah.html from browser ending by 400: bad request. i'm hopeless at this. any ideas?
I'm sorry, but you are not giving us any useful information to work with here. I suggest that you either remove the .htaccess code, or try a very simple test such as redirecting a non-existent page URL to your home page -- all in the Web root directory to start with. We can help, but you are going to need to do most of the work --a lot of experimenting-- and report the results of things that work as well as things that don't work.
And if something does not work, we need to know:
Thanks,
Jim