I installed apache on my windows computer, but now I cant get mod_rewrite working.. I load the module and AllowOverride is ALL and this my htaccess but all I get is 'The requested URL xx was not found on this server.' Anybody has an idea how to fix this? thanks
Try RewriteRule ^index.html$ index.php [L] and go to domain.com/index.html and see if the php file comes up.
I did that, and the php file came up correctly. Then I changed it back, and voila, it worked!?! Thanks anyhow.
Now post a URL you were trying to get and the original URL, if theres still something you can't get working. That was just to see if you do have mod_rewrite set-up correctly.
Everything seems to be working now, thanks. Actually, I just found my error. My site was in a directory under localhost, and the root didnt have a index.php file! (it was in the dir). Man I feel stupid for missing that, but thats what happens if you get 1h sleep in 2 days, you miss the obvious and start looking for more complicated problems.