View previous topic :: View next topic |
Author |
Message |
lestat -
Joined: 15 Sep 2003 Posts: 130 Location: GREEN BAY
|
Posted: Tue Sep 04, 2012 6:06 pm Post subject: Codeigniter + Rewrite rules |
|
|
Hiya,
I'm getting a bit confused on this. I have the following CI site:
/intranet/dies
I set my Rewrite rules as follows:
Virtual Path Regex: Code: | ^/intranet/dies/(.*)$ |
Internal redirect to: Code: | /intranet/dies/index.php?/$1 |
Codeigniter config:
Code: | $config['index_page'] = '';
$route['default_controller'] = "dies";
|
It seems to work because I no longer see /intranet/dies/index.php/cont1/meth1/param. The 'index.php' in the URI is gone. Goal achieved
However:
/intranet/dies SUCCESS
/intranet/dies/view/4 FAIL CI 404
/intranet/dies/dies/view/4 SUCCESS
/intranet/dies/index.php/dies/view/4 SUCCESS
Does this look like a CI issue more than a server issue?
Thanks for any helps ;-) |
|
Back to top |
|
|
lestat -
Joined: 15 Sep 2003 Posts: 130 Location: GREEN BAY
|
Posted: Mon Sep 17, 2012 8:55 pm Post subject: [ RESOLVED ] |
|
|
This was indeed a CodeIgniter issue. nothing to do with Abyss. The rewrite rule was working correctly. _________________ XP Pro sp2
Abyss Web Server X2 (v 2.9.3.5)
PHP 5.3.8 |
|
Back to top |
|
|
|