.htaccess not working

boisguckcob

New Member
I have a .htaccess file to remove the index.php part of the codeigniter-style URL. It's been working fine on one computer but when I copied the file over to my laptop it doesn't seem to do anything. I'm using localhost on both machines. They both run mac osx 10.6 with the bundled apache and php and the latest version of mysql. Everything works fine, it's just the .htaccess that doesn't do what it should. Is there any setting that I might have changed on my first machine and forgotten about?!EDIT:I'm wondering if there is something wrong with my CI setup now. If I load the base_url ie http://localhost/~User/project/then it loads perfectly, adding the index.php. My config file has\[code\] $config['index_page'] = '';\[/code\]However, as a test I returned this value to 'index.php'. When I loaded the base_url after this it returned: http://localhost/~User/project/index.php/index.php/controller/methodDoes this suggest anything to anybody?
 
Back
Top