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!


Messages In This Thread
Trying to use CodeIgniter with Concrete5 - by El Forum - 05-31-2009, 10:10 AM



Theme © iAndrew 2016 - Forum software by © MyBB