.htaccess and index.php problems - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: .htaccess and index.php problems (/showthread.php?tid=2201) |
.htaccess and index.php problems - El Forum - 07-22-2007 [eluser]Unknown[/eluser] My .htaccess file looks like: Code: RewriteEngine on If I go to http://macintosh.local/~James/ci/ then I get a 404 Error, "The requested URL /Users/James/Sites/ci/index.php was not found on this server." But if I type http://macintosh.local/~James/ci/index.php it works. Same thing goes for http://macintosh.local/~James/ci/wiffle, I get a 404 that it can't find http://macintosh.local/~James/ci/index.php/wiffle but if I type that in it works. I've set $config['index_page'] to "" and I've set up Mac OS X to actually use .htaccess files (done according to http://www.clagnut.com/blog/350/), which it apparently doesn't do by default. Yet it still won't work and I'm not sure why because if I put it up on my XMGFree account (XMGFree servers run Linux) it works. .htaccess and index.php problems - El Forum - 07-22-2007 [eluser]esra[/eluser] Try this: Code: Options +FollowSymLinks .htaccess and index.php problems - El Forum - 07-22-2007 [eluser]Unknown[/eluser] It still won't work. .htaccess and index.php problems - El Forum - 07-24-2007 [eluser]Unknown[/eluser] Hi there. @esra: thanks alot for your code. I've been searching this solution. It really worked like a charm. Thanks again. |