Removing index.php Problem |
[eluser]martyncoup[/eluser]
Hey guys, Not sure why this is happening as I've setup CI a few times and never had a problem. However this time I can access my homepage (www.21yards.com) yet when I click any of the links at the top I get a 404 error. Here are the contents of my htaccess file: Code: RewriteEngine on My setup is as follows: Zend Server 4.0 (Apache 2.2.14) Windows Server 2003 Std R2 Starting to annoy me but think I've been looking at it for to long so here is a call for help! Cheers! Martyn.
[eluser]martyncoup[/eluser]
Yep, already got that. In the log you just get the regular Apache 404 error.
[eluser]adamfairholm[/eluser]
Hey Martyn, Have you tried Code: RewriteRule ^(.*)$ /index.php?/$1 [L] with the question mark in there? Works for me on some servers when sub pages are throwing 404s.
[eluser]martyncoup[/eluser]
Ah right, this will be if PATH_INFO isn't working properly right? At work at the minute but will give it a try when I get home and let you know, cheers.
[eluser]martyncoup[/eluser]
Just figured out I can RDP from work to the box, so done that restarted Apache and now I get the default page whenever I goto a different page. Correct me if I'm wrong but PATH_INFO might not be working? Not sure how I correct that though.
[eluser]martyncoup[/eluser]
Ok, so now whatever page I visit the page which is loaded is the main view for the controller. Proper confused now.
[eluser]Ivar89[/eluser]
Code: <IfModule mod_rewrite.c> EDIT: never ever failed me.
|
Welcome Guest, Not a member yet? Register Sign In |