Welcome Guest, Not a member yet? Register   Sign In
.htaccess woes
#1

[eluser]ryeguy[/eluser]
I can't seem to get this to work. I searched and searched the forums, tried all the replies, and nothing worked.

I have my CI installed at www.mysite.com/ci/.

On my server, PHP is running in CGI mode, so I have edited php.ini files in every subdirectory with cgi.fix_pathinfo=0 (as per another thread). Do I need this, and if so, do I need a php.ini in every folder or just mysite.com/ci/?

My .htaccess is this:
Code:
RewriteEngine on
RewriteCond $1 !^(index\.php|images|robots\.txt)
RewriteRule ^(.*)$ /ci/index.php/$1 [L]

Config.ini:
Code:
config['index_page'] = "";

At this point for some reason when I go to ANY page in mysite.com/ci, I get "No input file specified". Even when using index.php to route to my controller!

UPDATE:
I removed cgi.fix_pathinfo=0 and set it back to 1 and I no longer get the error if I use index.php. I still get it if I try to do it without index.php.


Messages In This Thread
.htaccess woes - by El Forum - 12-02-2008, 10:22 AM
.htaccess woes - by El Forum - 12-02-2008, 10:37 AM
.htaccess woes - by El Forum - 12-02-2008, 10:40 AM



Theme © iAndrew 2016 - Forum software by © MyBB