This is kind of fork off a thread I started yesterday, but I’ve just solved the initial problems which formed the context of that thread.
Anyway, I’ve got CI running under PHP4 via FastCGI in a special directory with an .htaccess file, but I’m seeing three behaviors when I try to access the default controller or “Welcome to CodeIgnitor” message.
1. www.domain.com/ci/index.php?/ - This works, I see the Welcome message and even the correct 4.4.2 phpinfo() which I’ve embedded.
2. www.domain.com/ci -Doesn’t work. Apache 404 error -> “The requested URL /index.php/ was not found on this server.”
3. www.domain.com/ci/index.php - Doesn’t work. 404 Page not found from CI.
I’ve tried lots of different Rewrite Rules in my .htaccess file, but at this point I can live with index.php in the URL, if I can resolve the 404s and eliminate the trailing “?/”.
The only thing in my .htaccess file now is:
AddType application/x-httpd-fastphp .php
Action application/x-httpd-fastphp /cgi-bin/php-cgi
I’ve tried a bunch of different settings in config, namely with $config[‘index_page’], but nothing seems to work. Everything is pretty much in a vanilla state at this time.
e.g. $config['index_page'] = "index.php";
Anyone have any clues?
