XAMP/vhosts set up and permalinks

On my test site, if I change permalinks and then try to navigate to another page I get “Object Not found” If I put the permalinks back to default it’s all OK.

I am using XAMP and virtual hosts.

I have tried changing the Apache httpd file following advice on other sites. e.g.

[I][INDENT]To enable mod_rewrite in xampp first go to the directory of installation <xampp-directory>\apache\conf and edit httpd.conf. Find the line which contains
#LoadModule rewrite_module modules/mod_rewrite.so
uncomment this(should be):

LoadModule rewrite_module modules/mod_rewrite.so

Also find AllowOverride None

Should be:

AllowOverride All

I really think it appears 2 or 3 times on the configuration file. [/INDENT][/I]

That advice didn’t help me. I’ve also reinstalled WP and deleted my database and started afresh.

I’m really going round and round with this.