codeigniter and routes
yestreday I thought that I had a problem with the ssl in shared ssl but the problem is because of the structure of the url - not because its ssl.
the home page loads ok (besides images but that's ok) https://nimrod.eukhosting.net/~nadavwei/myatar.co.cc/ this is because the defaulr controller is used so CI doesn't have to figure out the uri structure
when there is a class in the url, codeigniter doesn't even show it's own e开发者_如何学Pythonrror page. for example, https://nimrod.eukhosting.net/~nadavwei/myatar.co.cc/aaa shows 404 error also without https in the url I get the same error
without the shared ssl structure its working
mode_rewrite is working fine (checked it without CI)
In your applications/config.php in change $config['index_page'] = 'index.php';
to $config['index_page'] = '';//mod_rewrite enabled
, moreover in CI, your controller must have index()
method if you are not using controller/methodname
but trying to call urls like controller/
to avoid 404 error.
Try changing base_url
in conf file from http
to https
.
精彩评论