Hi there,
I have tried a lot of different things to solve this issue but I didn’t find the good one.
here is my web site structure:
index.php
.htaccess
/site
/config
/controllers
/errors
/images
/javascript
/models
/views
/styles
/system
/cache
/CodeIgniter
/database
/helpers
/...
I have just split off CI’s files from my web site to make it easier if I have to make it evolve. (not sure it is a good way to do that?!)
in my config file, I have got this :
/*
|--------------------------------------------------------------------------
| Base Site URL
|--------------------------------------------------------------------------
|
| URL to your CodeIgniter root. Typically this will be your base URL,
| WITH a trailing slash:
|
| http://www.your-site.com/
|
*/
$config['base_url'] = "http://myurl.com/";
/*
|--------------------------------------------------------------------------
| Index File
|--------------------------------------------------------------------------
|
| Typically this will be your index.php file, unless you've renamed it to
| something else. If you are using mod_rewrite to remove the page set this
| variable so that it is blank.
|
*/
$config['index_page'] = "";
and in my .htaccess I have just copied and pasted this
RewriteEngine on
RewriteCond $1 !^(index\.php|images|robots\.txt)
RewriteRule ^(.*)$ /index.php/$1 [L]
from here : http://www.ellislab.com/codeigniter/user-guide/general/urls.html
I have seen in another topic that I may remove the
'/'
RewriteRule ^(.*)$ /index.php/$1 [L]
so I also tried with
RewriteRule ^(.*)$ index.php/$1 [L]
but my web site still doesn’t work.
can you help me?
by the way, I am trying on me dev server but it was working on my computer.
thanks in advance
