Running CI without mod_rewrite?

Sorry, that was me accessing index.php for that.

If I try index.php/test, I get the following:
    [REQUEST_URI] => /index.php/test
    [SCRIPT_NAME] => /index.php
    [PATH_INFO] => /test
    [PATH_TRANSLATED] => /Library/WebServer/Documents/test
    [ORIG_PATH_INFO] => /index.php/test

It looks to me
$config['uri_protocol']    = "REQUEST_URI";
$config['uri_protocol']    = "ORIG_PATH_INFO";
should work

Nope. Both of them load the default route only Sad

There's no .htaccess file by the way. Will that make a difference?

I never had problems using CI without .htaccess files so i don't really understand what the reason for this problem is, i'm sorry.

No problem. Thanks for your help.

I think it's down to Apache, unfortunately. You might have noticed from the $_SERVER data that I'm running this on my iPhone. Wanted to demo a mobile site we're building later, and I'm not sure how the internet will behave at the location. Wanted to load it onto the iPhone locally so I didn't have to worry about network issues Smile

[eluser]Michael Wales[/eluser]
Definitely odd. I usually do all of my development on Apache w/o using mod_rewrite (or an .htaccess file), and I have never experience this issue.

For those of you who think I am insane: I am trying to convert everyone over to Lighttpd, so no need to worry about the Apache specific stuff during development. :cheese:

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  

  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.