CodeIgniter Forums
Trying to use CodeIgniter with Concrete5 - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23)
+--- Thread: Trying to use CodeIgniter with Concrete5 (/showthread.php?tid=19207)



Trying to use CodeIgniter with Concrete5 - El Forum - 05-31-2009

[eluser]SkippyFiRe[/eluser]
SO I have CodeIgniter setup in a sub directory called members, because I'm going to use it to build out the members side of the website.

For both Concrete5 and CodeIgniter, I enabled "pretty" URLs, but when I try an access a simple hello world example in a blog controller, Concrete5 tells me it can't find the page.

Here is the Concrete5 rewrite rule in the root .htaccess file:

RewriteEngine On
RewriteBase /

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d

RewriteRule ^(.*)$ index.php/$1 [L]


And here is the rewrite rule in the members .htaccess file.

RewriteEngine on

RewriteCond $1 !^(index\.php|images|robots\.txt)
RewriteRule ^(.*)$ /index.php/$1 [L]


Any ideas how I can keep the pretty URLs for both systems?
Please add any other thoughts or concerns about using CodeIgniter with Concrete5, if you have any. Thanks!