Welcome Guest, Not a member yet? Register   Sign In
Trying to use CodeIgniter with Concrete5
#1

[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!




Theme © iAndrew 2016 - Forum software by © MyBB