Remove index.php without setting $config['index_page'] to empty string [SOLVED] |
[eluser]cseguin[/eluser]
I meant .htaccess and index.php, did not see entry #6
[eluser]cseguin[/eluser]
[code]$config['uri_protocol'] = "PATH_INFO";[code]
[eluser]cseguin[/eluser]
tried: Quote: it is still returning 404s
[eluser]bretticus[/eluser]
My next suggestion would be to try using a virtual host in case global server setting are wonking your rewrites somehow. For example, are you even allowing the directives you call in your .htaccess file? What is your operating system? It appears you are using Apache2. Correct? Are you using a pre-built stack: MAMP for Mac OSX, WAMP Server for Windows. etc.? See AllowOverride in Apache manual.
[eluser]danmontgomery[/eluser]
You are getting getting Apache 404s, right? Not Codeigniter 404s?
[eluser]cseguin[/eluser]
Hi bretticus, thanks a lot for your time, I'll try your suggestions right now. I'm running a Mac OX 10.6.2 and I'm using the apache 2.0 that comes with it. CI is 1.7.1 Hi Noctrum, Quote:You are getting getting Apache 404s, right? Not Codeigniter 404s? apache I suppose, this the html generated: Code: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
[eluser]cseguin[/eluser]
Hi bretticus, you are probably right, this is on my httpd.conf <Directory /> Options FollowSymLinks AllowOverride None Order deny,allow Deny from all </Directory>
[eluser]bretticus[/eluser]
[quote author="noctrum" date="1280964383"]You are getting getting Apache 404s, right? Not Codeigniter 404s?[/quote] Thanks @noctrum, I will add that to my future preliminary questions when dealing with this. Duh! ![]()
[eluser]bretticus[/eluser]
Try changing AllowOverride: Code: AllowOverride All You are definitely getting apache 404 errors (means rewrite is not working because AllowOverride is set to None. Apache won't even read .htaccess files when configured like this.) |
Welcome Guest, Not a member yet? Register Sign In |