Welcome Guest, Not a member yet? Register   Sign In
Only Default controller loads, CI 2.1.2, php 5.3.15
#1

[eluser]Unknown[/eluser]
As the title say, i have a problem that only the default controller is loading,
I've developed a project on CI 2.1.2 and tried to put it on a server with php 5.3.15.
But no luck,,

It always loads the default controller.

Something important to know is that IC runs on a subfolder or Subdomain.

for any more information, i have an extended post on StackOverflow.com. But due though little views i thought to ask it at the developers core of code igniter, here on ellislab!

SO Reference: http://stackoverflow.com/questions/21540...-subfolder

I'll provide all requested information to solve this! any idea is welcome!

EDIT: Added additional information

My Settings:

Code:
$config['uri_protocol'] = "REQUEST_URI";  
$config['index_page'] = '';
$config['base_url']= 'http://www.mywebsite.nl/klanten';
or for the subdomain:

Code:
$config['base_url']= 'http://klanten.mywebsite.nl/';

My htaccess:

Code:
DirectoryIndex index.php
RewriteEngine on

RewriteCond $1 !^(index\.php|img|stylesheets|javascript)
RewriteCond $1 !^(index\.php|img|css|js|robots\.txt|favicon\.ico)
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?/$1 [L,QSA]


Messages In This Thread
Only Default controller loads, CI 2.1.2, php 5.3.15 - by El Forum - 02-04-2014, 07:16 AM
Only Default controller loads, CI 2.1.2, php 5.3.15 - by El Forum - 02-04-2014, 08:27 AM
Only Default controller loads, CI 2.1.2, php 5.3.15 - by El Forum - 02-04-2014, 08:32 AM
Only Default controller loads, CI 2.1.2, php 5.3.15 - by El Forum - 02-04-2014, 01:43 PM



Theme © iAndrew 2016 - Forum software by © MyBB