Welcome Guest, Not a member yet? Register   Sign In
Pretty URL's and mod_rewrite
#1

[eluser]Dan Storm[/eluser]
I can't seem to make this work - and I'm pretty sure that the real problem is that I just starring myself blind on it, so I hope a pair of fresh eyes can help me out.

What I wan't to do is have several applications attached to my system.
At this time, a website already exists in the root folder, but I wan't some microsites/powerformats in a CI installation.

My mod_rewrite looks like this:
Code:
RewriteCond %{REQUEST_URI} ^/(powerformat1|powerformat2)/?$
RewriteRule ^(.*)$ powerformats/index.php/$1 [L]

Although, getting the CI index.php correctly, when trying to access example.org/powerformat1 or example.org/powerformat2 gives me CI's 404 page.

It seems like whatever I try of rewrite rules I either get the 404 page or nothing at all.

Any insights?




Theme © iAndrew 2016 - Forum software by © MyBB